Package com.orchestranetworks.service
Class UserReference
java.lang.Object
com.orchestranetworks.service.Profile
com.orchestranetworks.service.UserReference
Identifies a specific user.
- See Also:
-
Field Summary
Fields inherited from class com.orchestranetworks.service.Profile
ADMINISTRATOR, EVERYONE, OWNER, READ_ONLY -
Method Summary
Modifier and TypeMethodDescriptionReturns an iterator overServiceKeys representing the user's privileges.Returns the identifier of the user (usually the login).booleanisPrivilegeGranted(ServiceKey aServiceKey) Returnstrueif this reference has been granted the privilege to execute the specified service.Methods inherited from class com.orchestranetworks.service.Profile
equals, forBuiltInRole, format, forSpecificRole, forUser, forUserWithSpecificPrivilege, forUserWithSpecificPrivileges, getLabel, hashCode, isBuiltIn, isBuiltInAdministrator, isBuiltInEveryone, isBuiltInOwner, isBuiltInReadOnly, isSpecificRole, isUserReference, parse, toString
-
Method Details
-
getUserId
Returns the identifier of the user (usually the login).- See Also:
-
isPrivilegeGranted
Returnstrueif this reference has been granted the privilege to execute the specified service. -
getPrivileges
Returns an iterator overServiceKeys representing the user's privileges.Returns
nullif no privileges have been given.- See Also:
-