updateUserRole | R Documentation |
Updates a user's role in the database
updateUserRole(databaseId, userId, assignment)
databaseId |
the id of the database |
userId |
the (numeric) id of the user to update |
assignment |
the role assignment, |
## Not run:
databaseId <- "caxadcasdf"
updateUserRole(databaseId,
userId = 165,
roleAssignment(
roleId = "admin",
roleResources = databaseId
)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.