JDBC Driver for Okta

Build 24.0.9175

AssignUserToRole

Assigns a user to a role.

Input

Name Type Description
UserId String Id of the user.
Type String For standard roles, this is the Standard or IAM-based role type. For custom roles, this should be set to CUSTOM.
ResourceSet String The resource set Id. Only used for custom roles.
RoleId String The custom role Id. Only used for custom roles.

Result Set Columns

Name Type Description
Status String Stored procedure execution status.
Id String Role assignment Id.
Label String Role label.
Type String Role type.
Created Datetime Timestamp of when the object was created.
LastUpdated Datetime Timestamp of when the object was last updated.
AssignmentStatus String Status of the assignment.
AssignmentType String Role assignment type.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175