Hi
have a look into the classes under the Common Directory Services API
[url]http://www.ajax-softwareag.com/articles/Y4LCDN/Caf-7-1-1JavaDocs/com/webmethods/sc/directory/package-summary.html[/url].
One example on using them:
IDirectorySystem directorySystem = DirectorySystemFactory.getDirectorySystem();
/* Create a Directory Session to access the directory services */
IDirectorySession session = directorySystem.createSession();
IDirectoryPrincipal ownerUser = session.lookupPrincipalByName(
"fga", IDirectoryPrincipal.TYPE_USER);
Unfortunately, the Common Directory Services API will not deliver you the users in a role defined by an LDP query (in case you are looking for that).
hope this helps
Javier
#webMethods-BPMS#MWS-CAF-Task-Engine#webMethods