updateUserRole

Description

Updates a user's role in the database

Usage

updateUserRole(databaseId, userId, assignment)

Arguments

ArgumentDescription
databaseIdthe id of the database
userIdthe (numeric) id of the user to update
assignmentthe role assignment, roleAssignment

Examples


databaseId <- "caxadcasdf"
updateUserRole(databaseId, userId = 165, roleAssignment(roleId = "admin", roleResources = databaseId))