assign_role_to_user
Assign security roles to users to grant appropriate access permissions for their job functions and responsibilities in Microsoft Dataverse.
Instructions
Assigns a security role to a specific user, granting them all the permissions defined in that role. Use this to provide users with the appropriate access levels for their job functions and responsibilities.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
roleId | Yes | ID of the role to assign | |
userId | Yes | ID of the user to assign the role to |
Input Schema (JSON Schema)
{
"properties": {
"roleId": {
"description": "ID of the role to assign",
"type": "string"
},
"userId": {
"description": "ID of the user to assign the role to",
"type": "string"
}
},
"required": [
"roleId",
"userId"
],
"type": "object"
}