public class User extends PersistentObject
Constructor and Description |
---|
User(CreationTemplate template,
AttrSet attrSet)
Construct User object without session.
|
Modifier and Type | Method and Description |
---|---|
AccessRightObject |
getAccessRight(Guid guid)
Get the access rights associated with the user; this will return an
aggregation of all the attribute access rights granted by each of the
user's roles.
|
AttrSet |
getAttributes(SearchTemplate template)
Return attribute set according to a supplied search template.
|
String[] |
getGroups()
Return groups that the user is a member of.
|
String |
getUID()
Return uid for the user
|
addACI, addAttributeValue, addChild, deleteACI, getACI, getACI, getAttribute, getAttribute, getAttributeNames, getAttributes, getAttributes, getAttributes, getChildren, getChildren, getChildren, getGuid, getNamingAttribute, getParentObject, getRoles, isMemberOf, modify, modify, modify, remove, removeAttribute, removeAttributeValue, removeChild, removeChild, rename, replaceACI, save, search, search, search, setAttribute, setAttribute, toString
getParentGuid
public User(CreationTemplate template, AttrSet attrSet) throws UMSException
template
- template to the UserattrSet
- attribute/value setUMSException
public String getUID() throws UMSException
UMSException
public AttrSet getAttributes(SearchTemplate template) throws UMSException
template
- Search templateUMSException
public String[] getGroups() throws UMSException
UMSException
public AccessRightObject getAccessRight(Guid guid) throws UMSException, ACIParseException
guid
- The starting location of the role (rights) aggregation.UMSException
ACIParseException
Copyright © 2010-2013, ForgeRock All Rights Reserved.