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 overServiceKey
s representing the user's privileges.Returns the identifier of the user (usually the login).boolean
isPrivilegeGranted
(ServiceKey aServiceKey) Returnstrue
if 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
Returnstrue
if this reference has been granted the privilege to execute the specified service. -
getPrivileges
Returns an iterator overServiceKey
s representing the user's privileges.Returns
null
if no privileges have been given.- See Also:
-