public class OrganizationalUnit extends PersistentObject
ou=people,o=vortex.com ou=groups,o=vortex.comThey are persistent objects and can be used as a container. For example,
orgUnit = (OrganizationalUnit)UMSSession.getObject( ctx, id ); orgUnit.add( User1 );
Constructor and Description |
---|
OrganizationalUnit(CreationTemplate template,
AttrSet attrSet)
Constructs a Organizational unit object without a session.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Return name of the organizational unit
|
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 OrganizationalUnit(CreationTemplate template, AttrSet attrSet) throws UMSException
template
- template for the OrganizationalUnit, containing required and
optional attributes, and possibly default valuesattrSet
- attribute/value setUMSException
public String getName() throws UMSException
UMSException
Copyright © 2010-2014, ForgeRock All Rights Reserved.