Run LDAP query
Run a raw LDAP filter from any starting point and scope and return the entries as a table.
Command in the Active Directory toolkit · id ooa.active_directory/run_query · 7 inputs (1 required), 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Filter | String | Yes | LDAP filter. | |
| Attributes | List | No | Attributes to return; cn, sAMAccountName and mail when empty. | |
| Search base (distinguished name) | String | No | Where to start; the session's base when empty. | |
| Scope | String | No | subtree | How deep to search below the starting point. |
| Maximum results | Number | No | 1000 | Safety limit. |
| Session | String | No | ad | Session name. |
| Return as | String | No | table | table: a row per entry; names: a list of their names (the first attribute, else the name in the dn); dns: a list of distinguished names. |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | One row per entry; columns are dn plus the requested attributes. |
| count | Number | Number of entries. |
| list | List | With return as names or distinguished names: the entries as a plain list. |