Package com.spotfire.ws.pub
Class UserPrincipal
java.lang.Object
com.spotfire.ws.pub.SpotfirePrincipal
com.spotfire.ws.pub.UserPrincipal
Represents a user principal in the User Directory.
- Since:
- 5.5
-
Constructor Summary
ConstructorDescriptionCreates a new instance.UserPrincipal
(Guid id, UserName name, String displayName, String email, boolean enabled) Creates a new UserPrincipal instance with the specified details. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether or not this user is enabled.Methods inherited from class com.spotfire.ws.pub.SpotfirePrincipal
getDisplayName, getEmail, getId, getName
-
Constructor Details
-
UserPrincipal
public UserPrincipal()Creates a new instance. -
UserPrincipal
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
-
-
Method Details
-
isEnabled
public boolean isEnabled()Indicates whether or not this user is enabled.- Returns:
- true if this user is enabled, false otherwise
-