Class PrincipalName

java.lang.Object
com.spotfire.ws.pub.PrincipalName
Direct Known Subclasses:
GroupName, UserName

public abstract class PrincipalName extends 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 Details

    • PrincipalName

      public PrincipalName()
      Creates a new instance.
  • Method Details

    • getName

      public String getName()
      Returns the (user or group) name.
      Returns:
      the name
    • getDomainName

      public 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 String toString()
      Overrides:
      toString in class Object