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?
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, user.active FROM cwd_user as user INNER JOIN cwd_directory as directory ON user.directory_id = directory.id;
Let me know if further assistance or elaboration is needed.
Cheers,
Karim
@Karim ABO HASHISH is it possible to trigger db query via API?
I suppose we even have no access to db.
BR,
Yurii
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.