Package com.spotfire.ws.pub
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 Summary
Constructors Constructor Description UserPrincipal()
Creates a new instance.UserPrincipal(Guid id, UserName name, java.lang.String displayName, java.lang.String email, boolean enabled)
Creates a new UserPrincipal instance with the specified details.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEnabled()
Indicates whether or not this user is enabled.-
Methods inherited from class com.spotfire.ws.pub.SpotfirePrincipal
getDisplayName, getEmail, getId, getName
-
-
-
-
Constructor Detail
-
UserPrincipal
public UserPrincipal()
Creates a new instance.
-
UserPrincipal
public UserPrincipal(Guid id, UserName name, java.lang.String displayName, java.lang.String email, boolean enabled)
Creates a new UserPrincipal instance with the specified details.- Parameters:
id
- an IDname
- a namedisplayName
- a display nameemail
- an email addressenabled
- true if the user is enabled, false otherwise
-
-