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 June 11, 2025, 12:38 a.m.