Package com.spotfire.ws.pub
Class PrincipalName
- java.lang.Object
-
- com.spotfire.ws.pub.PrincipalName
-
public abstract class PrincipalName extends java.lang.Object
Represents the name of a principal (user or group) in the User Directory.Note that this is an abstract base class and that all instances should be of either UserName or GroupName type.
- Since:
- 5.5
-
-
Constructor Summary
Constructors Constructor Description PrincipalName()
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDomainName()
Returns the domain name.java.lang.String
getName()
Returns the (user or group) name.java.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the (user or group) name.- Returns:
- the name
-
getDomainName
public java.lang.String getDomainName()
Returns the domain name. If no domain name has been set the name of the internal SPOTFIRE domain is returned.- Returns:
- the domain name
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-