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

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results. 
Table last updated: Oct 14, 2026 
groupGroupyes Long-Term The name of the relevant group. See Group.
roleRoleyes Long-Term The role assigned to a group in a search domain. See Role.
searchDomainSearchDomainyes Long-Term The related search domain. See SearchDomain.

Table: SearchDomainRole

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results. 
Table last updated: Oct 14, 2026 
roleRoleyes Long-Term The relevant role for the search domain. See Role.
searchDomainSearchDomainyes Long-Term The relevant search domain. See SearchDomain.