Configure LDAP Question Type

Last modified: May 7, 2023
You are here:
Estimated reading time: 1 min

Setting Information

  • Question Types and Configuration

Detailed Information

Some Settings are available since Version 4.1

To configure LDAP Query as a Question Type, configure your Service and choose “LDAP Query”  as Type.

Please also configure your Values (Show Values), which should be shown, use the LDAP Values here, like displayname, samaccountname.

You can use multiple Values to show, separate them by a “,”.

The “View” Button lets you see the result and test.

Here are a few examples of how a Query can look like.

  • Get all Users from AD: (objectclass=user)
  • Get all Computers from AD: (objectclass=computer)
  • Get all Members from a Group: (memberof=CN=Admins,OU=Service Users,OU=Domain,DC=au2mator,DC=local)
  • Get all disabled Users: (&(objectCategory=person)(objectClass=user)(userAccountControl:1.2.840.113556.1.4.803:=2))
  • Get all enabled Users: (&(objectCategory=person)(objectClass=user)(!userAccountControl:1.2.840.113556.1.4.803:=2))
  • Get Organization Unit with special Description: (&(objectClass=organizationalUnit)(description=Location))
  • Get all Users with SMTP: (&(objectclass=user)(Mail=*))

Example using Advanced Placeholder

  • To show Members where the selected Group: (&(objectClass=user)(memberof={LDAP3.DistinguishedName}))
  • So see Groups, where the User is Member of: (&(objectClass=group)(member={LDAP1.DistinguishedName}))
  • Get all Users, where the selected User is a Manger: (&(objectClass=user)(manager={LDAP1.DistinguishedName}))

The distinguishedName of the selected Value will be transferred to the Automation Initialize Data.

And a lot more, feel free


You can also select the Scope for the LDAP Query

A SearchScope with a Base value searches only for the given user. If an OU is specified in the SearchBase parameter, no user will be returned by, for example, a specified Filter statement.

A OneLevel query searches the immediate children of that path or object. This option only works when an OU is given as the SearchBase. If a user is given, no results are returned.

A Subtree query searches the current path or object and all children of that path or object.

Something More

We offer two ways to display the Result-


Provides a String Property to type and search for an Active Directory Object on the fly.

You can also Copy/Paste a String of SamAccountNames into this Input String. This should look like

Sam1, Sam2, Sam3

Prepopulate Table

Provides a Table with all the possible Values and lets you search for your Active Directory

Was this article helpful?
Dislike 0
Go to Top