Package com.iplanet.ums
Interface IMembership
-
- All Known Subinterfaces:
IAssignableMembership,IDynamicMembership,IFilteredMembership
- All Known Implementing Classes:
AssignableDynamicGroup,DynamicGroup,FilteredRole,ManagedRole,StaticGroup
public interface IMembershipRepresents a container interface common to groups and roles.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMemberCount()Gets the member count of the group.GuidgetMemberIDAt(int index)Gets a member.SearchResultsgetMemberIDs()Gets the members of the group.booleanhasMember(Guid guid)Checks if a given identifier is a member of the group.
-
-
-
Method Detail
-
getMemberIDs
SearchResults getMemberIDs() throws UMSException
Gets the members of the group.- Returns:
- Iterator for unique identifiers in the group
- Throws:
UMSException
-
getMemberCount
int getMemberCount() throws UMSExceptionGets the member count of the group.- Returns:
- number of members in the group
- Throws:
UMSException
-
getMemberIDAt
Guid getMemberIDAt(int index) throws UMSException
Gets a member.- Returns:
- the guid unique identifier for a member
- Throws:
UMSException
-
hasMember
boolean hasMember(Guid guid) throws UMSException
Checks if a given identifier is a member of the group.- Parameters:
guid- identity of member to be checked for membership- Returns:
trueif it is a member- Throws:
UMSException- on failure to evaluate membership
-
-