UserOrGroupSearchDomainRole is a union datatype for a user or a group role. Use the GroupSearchDomainRole or SearchDomainRole datatypes and their parameters. Below are tables for each:

Table: GroupSearchDomainRole

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For return datatypes, this indicates that you must specify which fields you want returned in the results.
Table last updated: Mar 26, 2025
groupGroupyes Long-TermThe name of the relevant group. See Group.
roleRoleyes Long-TermThe role assigned to a group in a search domain. See Role.
searchDomainSearchDomainyes Long-TermThe related search domain. See SearchDomain.

Table: SearchDomainRole

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For return datatypes, this indicates that you must specify which fields you want returned in the results.
Table last updated: Oct 3, 2024
roleRoleyes Long-TermThe relavant role for the search domain. See Role.
searchDomainSearchDomainyes Long-TermThe relavant search domain. See SearchDomain.