Get group members
List the members of a group, optionally including members of nested groups.
Command in the Active Directory toolkit · id ooa.active_directory/get_group_members · 6 inputs (1 required), 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Group | String | Yes | Group distinguished name, or its sAMAccountName or common name. | |
| Recursive | Boolean | No | false | Include members of nested groups (Active Directory only). |
| Maximum results | Number | No | 5000 | Safety limit. |
| Session | String | No | ad | Session name. |
| Member type | String | No | all | Only return members of this kind. |
| Return as | String | No | table | table: a row per member; names: a list of their names; dns: a list of their distinguished names. |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | Columns: dn, name, sAMAccountName, type, mail. |
| count | Number | Number of members. |
| list | List | With return as names or distinguished names: the members as a plain list. |