Administer group information

We can manage information associated with a group by using the administration API.

When a group is created in the user registry, we can set and get different pieces of information about the group. We must create a security context between the calling application and the ISAM policy server before we can access the user registry. We can obtain the user registry information for a group object by specifying either the Security Verify Access group name or the user registry group name.

Table 1 lists the group information administration functions.

Method Description
PDGroup constructor Instantiates a group object for the specified Security Verify Access or user registry name.
PDGroup object.getDescription Returns the group description.
PDGroup object.getRgyName Returns the user registry name for the group.
PDGroup object.getId Returns the Security Verify Access name for the group.
PDGroup object.isPDGroup Returns an indicator whether the object is a Security Verify Access group.
PDGroup.setDescription
PDGroup object.setDescription
Sets a group description.
PDGroup object.getMembers List the members of a group.
PDGroup.addMembers
PDGroup object.addMembers
Add users to a group.
PDGroup.removeMembers
PDGroup object.removeMembers
Remove users from a group.

For detailed reference information about these methods, see the Javadoc HTML documentation.

Parent topic: Administer users and groups