updateUserRole: updateUserRole

View source: R/databases.R

updateUserRoleR Documentation

updateUserRole

Description

Updates a user's role in the database

Usage

updateUserRole(databaseId, userId, assignment)

Arguments

databaseId

the id of the database

userId

the (numeric) id of the user to update

assignment

the role assignment, roleAssignment

Examples

## Not run: 

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

## End(Not run)


bedatadriven/activityinfo-R documentation built on Dec. 21, 2024, 8:23 a.m.