com.tivoli.pd.rgy.RgyGroup
RgyGroup extends RgyEntity to provide group-specific methods. This section describes the following methods in the RgyGroup interface:
- listMemberIds() and listMemberNativeIds()
Returns a list of members who belong to the group.
When you call these methods, they fetch the member list directly from the registry such as LDAP. The member list is not cached in the RgyGroup instance.
ListMemberNativeIds() returns a list of native IDs (DNs for LDAP). The returned membership list can include native IDs of users who are not Security Verify Access enabled. Prototype:
Set <string> listMemberIds() throws RgyException; Set <string> listMemberNativeIds() throws RgyException;
- addMembers() and removeMembers()
Adds and removes Security Verify Access users from the group membership list.
This method does not provide any option to manage the membership of dynamic or nested groups. These methods fail if the membership list is determined by dynamic methods or from nested group membership. Prototype:
void addMembers(List <String> memberIds) throws RgyException; void removeMembers(List <String> memberIds) throws RgyException;
- importNativeGroup()
Converts the LDAP native group into an ISAM entity. Prototype:
void importNativeGroup(String groupId, RgyAttributes rgyAttributes) throws RgyException;
Parent topic: Published API