Skip to main content
1-Visitor
February 19, 2016
Solved

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

  • February 19, 2016
  • 1 reply
  • 4284 views

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

    Best answer by tketz

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

    1 reply

    1-Visitor
    February 22, 2016

    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.

    tketz1-VisitorAnswer
    1-Visitor
    February 29, 2016

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

    1-Visitor
    February 29, 2016

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