Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How we will get the all user directories

Mahipal Reddy November 26, 2012

Hi,

How we will get the all user directories?

what is the bean name we need to use to get Ldap,Intenal With Ldap Authentication and Active Directory

below code we are using.

private DirectoryManager getDirectoryManager()

{

if (directoryManager == null)

directoryManager = (DirectoryManager) ContainerManager.getInstance().getContainerContext().getComponent(ldapDirectoryManager);

return directoryManager;

}

private DirectoryInstanceLoader getDirectoryInstanceLoader()

{

if (directoryInstanceLoader == null)

directoryInstanceLoader = (DirectoryInstanceLoader) ContainerManager.getInstance().getContainerContext().getComponent(directoryInstanceLoader);

return directoryInstanceLoader;

}

1 answer

0 votes
Florin Manaila
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 26, 2012

Hi,

Try this:

ComponentAccessor.getComponentOfType(CrowdDirectoryService.class).findAllDirectories()

HTH,

Florin

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events