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

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.