List Group Membership of a Specific User
Use the getUserInfo
API to get the information about the group membership of a user.
NAESession session = NAESession.getSession("username", "password".toCharArray());
NAEAdminRequestProcessor processor= new NAEAdminRequestProcessor(session);
UserInfoResponse userInfo=processor.getUserInfo("user1");
System.out.println(userInfo.getGroupList());
The UserInfoResponse
provides all the information about a user existing on Key Manager.