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

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

SOLVED
Newbie

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

"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
Highlighted

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

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.

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

"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

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

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

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

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

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

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.