Can we get User LDAP info by rest API

Yuri Myts October 21, 2022

open user setting -> user management -> user directories -> there we can set up LDAP for user.

Can we get user directories with rest API to know about LDAP directory?

or do we have another way to get LDAP info?

1 answer

0 votes
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 20, 2022

hi @Yuri Myts 

This is not ideal, but it will work.

You can get LDAP info for users using the below Database query which returns the list of users along with their associated directory.

USE jiradb;

SELECT lower_user_name, directory.directory_name, FROM cwd_user as user INNER JOIN cwd_directory as directory ON user.directory_id =;

Let me know if further assistance or elaboration is needed.



Yuri Myts September 22, 2023

@Karim ABO HASHISH  is it possible to trigger db query via API? 
I suppose we even have no access to db.




Suggest an answer

Log in or Sign up to answer