com.softwareag.mdm.service
Class UserReference

java.lang.Object
  extended bycom.softwareag.mdm.service.Profile
      extended bycom.softwareag.mdm.service.UserReference

public class UserReference
extends Profile

Identifies a specific user.


Field Summary
 
Fields inherited from class com.softwareag.mdm.service.Profile
ADMINISTRATOR, DISTRIBUTOR, EVERYONE, OWNER, PROVIDER, READ_ONLY
 
Method Summary
 Iterator getPrivileges()
           Returns an iterator over ServiceKeys representing user's privileges.
 String getUserId()
          Returns the identifier of the user (usually its login).
 boolean isPrivilegeGranted(ServiceKey service)
          Returns true if this reference has been granted the privilege of executing the service specified.
 
Methods inherited from class com.softwareag.mdm.service.Profile
equals, forBuiltInRole, format, forSpecificRole, forUser, forUserWithSpecificPrivilege, forUserWithSpecificPrivileges, getLabel, hashCode, isBuiltIn, isBuiltInAdministrator, isBuiltInDistributor, isBuiltInEveryone, isBuiltInOwner, isBuiltInProvider, isBuiltInReadOnly, isSpecificRole, isUserReference, parse, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getUserId

public String getUserId()
Returns the identifier of the user (usually its login).

See Also:
Profile.forUser(String)

isPrivilegeGranted

public boolean isPrivilegeGranted(ServiceKey service)
Returns true if this reference has been granted the privilege of executing the service specified.

See Also:
Profile.forUserWithSpecificPrivilege(String, ServiceKey)

getPrivileges

public Iterator getPrivileges()

Returns an iterator over ServiceKeys representing user's privileges.

Returns null if no privileges have been given.

See Also:
ServiceKey


(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.