search_ad_users_or_groups
Search Active Directory users and groups in Horizon to find their IDs for setting pool entitlements. Filter by name, login, or group.
Instructions
Search for AD users and groups in the Horizon environment.
Use the returned 'id' field when setting pool entitlements.
Common filter fields: name, login_name, group, domain. Example filters: Find user by login: {"type":"Equals","name":"login_name","value":"jsmith"} Find by display name: {"type":"Contains","name":"name","value":"John"} Groups only: {"type":"Equals","name":"group","value":"true"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based) | |
| size | No | Results per page (max 1000) | |
| filter | No | Horizon filter JSON. Example to search by name: {"type":"Contains","name":"name","value":"john"} or by login: {"type":"Equals","name":"login_name","value":"jsmith"} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |