Skip to contents

These functions create a new user in a project or modify the role of an existing user.

Usage

sodar_user_role_create(
  project_uuid,
  user_uuid,
  role,
  config = NULL,
  verbose = getOption("verbose", default = FALSE),
  return_raw = FALSE
)

sodar_user_role_update(
  project_uuid,
  user_uuid,
  role,
  config = NULL,
  verbose = getOption("verbose", default = FALSE),
  return_raw = FALSE
)

Arguments

project_uuid

A character string containing the UUID of the project.

user_uuid

A character string containing the UUID of the user. This must be an existing user in the SODAR instance.

role

A character string containing the role of the user in the project.

config

A list containing the SODAR configuration. If NULL, it tries to get it from the global options.

verbose

A logical value indicating whether to make verbose requests.

return_raw

A logical value indicating whether to return the raw response.

Value

A list with the details of the user created.

See also

sodar_user_list