Description
Updates a user's role in the database
Usage
updateUserRole(databaseId, userId, assignment)
Arguments
Argument | Description |
---|---|
databaseId |
the id of the database |
userId |
the (numeric) id of the user to update |
assignment |
the role assignment, roleAssignment |
Examples
databaseId <- "caxadcasdf"
updateUserRole(databaseId,
userId = 165,
roleAssignment(
roleId = "admin",
roleResources = databaseId
)
)