Skip to main content

Role Assignment

Creates a role assignment.

Basic Parameters

ParameterDescription
Assigned ToThe unique ID of the user this role is assigned to.
Customer IDImmutable ID of the Google Workspace account.
Org Unit IDIf the role is restricted to an organization unit, this contains the ID for the organization unit the exercise of this role is restricted to.
RoleIdThe ID of the role that is assigned.
Scope TypeThe scope in which this role is assigned.

Advanced Parameters

ParameterDescription
Delegated User OverridePerform the action on behalf of another user, overriding the delegated user defined in the connection.

If not specified, the delegated user is the one provided in the connection.

Has no effect when using an OAuth connection.

NOTE: the connection details are not edited by this input.

Example Output

{
"assignedTo": "The unique ID of the user this role is assigned to.",
"etag": "ETag of the resource.",
"kind": "admin#directory#roleAssignment",
"orgUnitId": "If the role is restricted to an organization unit, this contains the ID for the organization unit the exercise of this role is restricted to.",
"roleAssignmentId": "ID of this roleAssignment.",
"roleId": "The ID of the role that is assigned.",
"scopeType": "The scope in which this role is assigned."
}

Workflow Library Example

Role Assignment with Google Workspace and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop