cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

How can I get a list of LDAP users from a script?

smccoy
12-Amethyst

How can I get a list of LDAP users from a script?

Hi,

Does anyone have an example for how to make an LDAP call to get a list of users? Please remove any references to secure information in any examples.

We have to resolve a gap between users that have been authorized to use Integrity within LDAP (in other words, being a member of the Integrity AD group), and the users that exists under workflows and documents. Since the users that exist under workflows and documents are not created until a user logs in, we cannot report on users that are actively registered, but have not logged into Integrity.

Kind regards,

--Sean

ACCEPTED SOLUTION

Accepted Solutions
tketz
12-Amethyst
(To:smccoy)

"aa users" gives you all LDAP users!

Really all, not only the users known by Integrity W&D.

If you only want the users known by W&D have look at "im users"

generate both lists and make a diff 🙂

View solution in original post

5 REPLIES 5
smccoy
12-Amethyst
(To:smccoy)

Follow-up clarification from more investigation...

Does the "aa users" command return the list of LDAP users, or the list of users under Workflows and Documents, or something else? If it returns the list of LDAP users, then I have my answer. If not, I have 1/2 of my answer and still need to know how to get this list of valid LDAP users from a script.

tketz
12-Amethyst
(To:smccoy)

"aa users" gives you all LDAP users!

Really all, not only the users known by Integrity W&D.

If you only want the users known by W&D have look at "im users"

generate both lists and make a diff 🙂

smccoy
12-Amethyst
(To:tketz)

Thank you, Tobias. That's exactly what I needed to know. 

ptc-4669970
2-Explorer
(To:tketz)

How do I retrieve a list of the registered users in the MKS Domain.

I know it's late to rely to this, but just in case:

the CLI command is integrity mksdomainusers

All mksdomain commands are uder CLI integrity.

Announcements


Top Tags