public interface IUserDir
| Modifier and Type | Method and Description | 
|---|---|
| void | addGroupMember(ICS ics,
              IName group,
              IName member)Add a user to a group. | 
| Collection | groupHierarchicalMembers(ICS ics,
                        IName dn)List all user members, direct and inherited, of the specified group. | 
| Collection | groupHierarchicalMemberships(ICS ics,
                            IName dn)List all groups to which the specified entry belongs, directly or inherited. | 
| Collection | groupMembers(ICS ics,
            IName dn)List all direct members (users and groups) of the specified group | 
| Collection | groupMemberships(ICS ics,
                IName dn)List all groups to which the specified entry directly belongs. | 
| Collection | listGroups(ICS ics)Lists all groups (descendants of Properties.groupParent) | 
| Collection | listGroups(ICS ics,
          IName commonAncestor)Lists all groups descended from a specified node. | 
| Collection | listUsers(ICS ics)Lists all users (descendants of Properties.peopleParent) | 
| Collection | listUsers(ICS ics,
         IName commonAncestor)Lists all users descended from a specified node. | 
| void | removeGroupMember(ICS ics,
                 IName group,
                 IName member)Remove a user from a group. | 
Collection listUsers(ICS ics) throws DirectoryException
ics - The current ICS contextDirectoryException - If there is an error.Collection listUsers(ICS ics, IName commonAncestor) throws DirectoryException
ics - The current ICS contextcommonAncestor - The node from which to list descendant usersDirectoryException - If there is an error.Collection listGroups(ICS ics) throws DirectoryException
ics - The current ICS contextDirectoryException - If there is an error.Collection listGroups(ICS ics, IName commonAncestor) throws DirectoryException
ics - The current ICS contextcommonAncestor - The node from which to list descendant groupsDirectoryException - If there is an error.Collection groupMembers(ICS ics, IName dn) throws DirectoryException
ics - The current ICS contextdn - The distinguished name of the group.
 If the common name is used and is not unique, the
 Properties.groupParent property is used to distinguish
 the name.DirectoryException - If there is an error.Collection groupHierarchicalMembers(ICS ics, IName dn) throws DirectoryException
ics - The current ICS contextdn - The distinguished name of the group.
 If the common name is used and is not unique, the
 Properties.groupParent property is used to distinguish
 the name.DirectoryException - If there is an error.Collection groupMemberships(ICS ics, IName dn) throws DirectoryException
ics - The current ICS contextdn - The distinguished name of the entry.
 If the common name is used and is not unique, the
 Properties.groupParent property is used to distinguish
 the name.DirectoryException - If there is an error.Collection groupHierarchicalMemberships(ICS ics, IName dn) throws DirectoryException
ics - The current ICS contextdn - The distinguished name of the entry.
 If the common name is used and is not unique, the
 Properties.groupParent property is used to distinguish
 the name.DirectoryException - If there is an error.void addGroupMember(ICS ics, IName group, IName member) throws DirectoryException
ics - The current ICS contextgroup - The distinguished name of the group.member - The distinguished name of the user.DirectoryException - If there is an error.void removeGroupMember(ICS ics, IName group, IName member) throws DirectoryException
ics - The current ICS contextgroup - The distinguished name of the group.member - The distinguished name of the user.DirectoryException - If there is an error.