Class UserPrincipal

java.lang.Object
com.spotfire.ws.pub.SpotfirePrincipal
com.spotfire.ws.pub.UserPrincipal

public final class UserPrincipal extends SpotfirePrincipal
Represents a user principal in the User Directory.
Since:
5.5
  • Constructor Details

    • UserPrincipal

      public UserPrincipal()
      Creates a new instance.
    • UserPrincipal

      public UserPrincipal(Guid id, UserName name, String displayName, String email, boolean enabled)
      Creates a new UserPrincipal instance with the specified details.
      Parameters:
      id - an ID
      name - a name
      displayName - a display name
      email - an email address
      enabled - true if the user is enabled, false otherwise
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Indicates whether or not this user is enabled.
      Returns:
      true if this user is enabled, false otherwise