My AD Memberships web query
The My AD Memberships web query displays the Active Directory groups for which a user is a member. The My AD Memberships web query is included in the built-in Self-Service container.
IMPORTANT: To get the proper results always run this web query in the Web Portal. Don't use the Preview button in the web query settings. The SelfService web queries can't get the authentication token of the currently logged-in user in the Cayosoft Administrator Console.
My AD Memberships web query settings
The My AD Memberships web query has common settings with the AD Users web query. For more information about My AD Memberships web query settings, please refer to the following article: AD Users web query .
Settings specific to My Memberships web query
| Setting name | Description |
|---|---|
| Limit scope to this Domain or OU | The default value for this setting is Global Search in all domains. This value should not be changed for users from different managed domains in different forests can see the groups they managed. |
| Show groups |
Specify which groups to display:
The default setting is All groups for which a user is a member. |
| Other Query Settings | |
| Initialization script |
Usually, rules use query criteria to limit the query search scope. It improves the performance of the executed rule. Due to PowerShell limitations, it is not possible to use calculated expressions in query criteria. That is the point where the initialization script can help. You can initialize a global variable in this setting and then use it in query criteria. IMPORTANT: To use a variable, declared in the initialization script, in the query scope, it must be global: $global:<variable name>. |
| Automatically load web query results | Specify if the web query search results should be loaded on navigation without clicking Search. |
Change History
| Version | Notes |
|---|---|
| 11.2.0 | Copying of the Self-Service queries is supported. |
| 8.4.0 | The default value for the Limit scope setting has been updated. |
| 8.0.0 | My Memberships web query is renamed to My AD Memberships web query. |
| 6.3.1 | Automatically load web query results setting is added. |
Comments
0 comments
Please sign in to leave a comment.