UserRoleAssignment is an input datatype for assigning a user role. It's used by the changeUserAndGroupRolesForSearchDomain() mutation field.

Table: UserRoleAssignment

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 
roleIdStringyes Long-Term The unique identifier for the role to assign.
userIdStringyes Long-Term The unique identifier of the user for which to assign the role.