List All Users in All Groups
Use the getAllUsers
API to get a list of all the users in all the existing groups.
NAESession session = NAESession.getSession("username", "password".toCharArray());
NAEAdminRequestProcessor processor= new NAEAdminRequestProcessor(session);
UserQueryResponse userGroupInfo=processor.getAllUsers();