It's all about the answers!

Ask a question

Determine if a ldap user is a member of a jazz group through Java API call to Jazz ldap server?


Weiping Lu (452810) | asked Feb 16 '15, 2:05 p.m.
JAZZ DEVELOPER
edited Feb 19 '15, 5:42 a.m. by Ralph Schoon (63.1k33646)
Anyone has some code samples or references for determining if a ldap user is a member of a jazz group through Java API call to Jazz ldap server? Thanks

One answer



permanent link
Ralph Schoon (63.1k33646) | answered Feb 19 '15, 4:51 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Feb 19 '15, 5:44 a.m.
If you want to call the JTS in the Plain Java Client Libraries, you can use

String[] groups = teamRepository.externalUserRegistryManager().fetchGroupsForUser(userID, monitor);

This call only receives the information JTS has about the repository groups the user has associated. The call is JTS/RTC Plain Java Client Library related and does not itself query the LDAP system.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.