System Administrator Functions : Working with the Common Directory Services API : CDS Code Examples : List All Roles
List All Roles
IDirectorySession session =
DirectorySystemFactory.getDirectorySystem().createSession();
List roles = session.listRoles();
for (IDirectoryRole role: roles) {
String roleID = role.getID();
String roleName = role.getName();
String roleDN = role.getDN();
}
Copyright © 2004-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback