Get All Information About Group
Use the getAllGroupInfo
API to get all information about the group.
NAESession session = NAESession.getSession("adminUser","adminPassword".toCharArray());
NAEAdminRequestProcessor processor = new NAEAdminRequestProcessor(session);
UserGroupQueryResponse response= processor.getAllGroupInfo();
for(GroupData group : response.getGroupList())
{
System.out.println("group name-"+group.getGroup());
System.out.println("user list"+group.getUserList());
}
Note
The creation or modification of users or groups are reflected on different Key Manager appliances of a cluster, only after completion of cluster sync time (set in CADP_for_JAVA.properties file).