public interface IUserDir
Modifier and Type | Method and Description |
---|---|
void |
addGroupMember(COM.FutureTense.Interfaces.ICS ics,
IName group,
IName member)
Add a user to a group.
|
java.util.Collection |
groupHierarchicalMembers(COM.FutureTense.Interfaces.ICS ics,
IName dn)
List all user members, direct and inherited, of the specified group.
|
java.util.Collection |
groupHierarchicalMemberships(COM.FutureTense.Interfaces.ICS ics,
IName dn)
List all groups to which the specified entry belongs, directly or inherited.
|
java.util.Collection |
groupMembers(COM.FutureTense.Interfaces.ICS ics,
IName dn)
List all direct members (users and groups) of the specified group
|
java.util.Collection |
groupMemberships(COM.FutureTense.Interfaces.ICS ics,
IName dn)
List all groups to which the specified entry directly belongs.
|
java.util.Collection |
listGroups(COM.FutureTense.Interfaces.ICS ics)
Lists all groups (descendants of Properties.groupParent)
|
java.util.Collection |
listGroups(COM.FutureTense.Interfaces.ICS ics,
IName commonAncestor)
Lists all groups descended from a specified node.
|
java.util.Collection |
listUsers(COM.FutureTense.Interfaces.ICS ics)
Lists all users (descendants of Properties.peopleParent)
|
java.util.Collection |
listUsers(COM.FutureTense.Interfaces.ICS ics,
IName commonAncestor)
Lists all users descended from a specified node.
|
void |
removeGroupMember(COM.FutureTense.Interfaces.ICS ics,
IName group,
IName member)
Remove a user from a group.
|
java.util.Collection listUsers(COM.FutureTense.Interfaces.ICS ics) throws DirectoryException
ics
- The current ICS contextDirectoryException
- If there is an error.java.util.Collection listUsers(COM.FutureTense.Interfaces.ICS ics, IName commonAncestor) throws DirectoryException
ics
- The current ICS contextcommonAncestor
- The node from which to list descendant usersDirectoryException
- If there is an error.java.util.Collection listGroups(COM.FutureTense.Interfaces.ICS ics) throws DirectoryException
ics
- The current ICS contextDirectoryException
- If there is an error.java.util.Collection listGroups(COM.FutureTense.Interfaces.ICS ics, IName commonAncestor) throws DirectoryException
ics
- The current ICS contextcommonAncestor
- The node from which to list descendant groupsDirectoryException
- If there is an error.java.util.Collection groupMembers(COM.FutureTense.Interfaces.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.java.util.Collection groupHierarchicalMembers(COM.FutureTense.Interfaces.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.java.util.Collection groupMemberships(COM.FutureTense.Interfaces.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.java.util.Collection groupHierarchicalMemberships(COM.FutureTense.Interfaces.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(COM.FutureTense.Interfaces.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(COM.FutureTense.Interfaces.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.