oadmin.user_add {opalr}R Documentation

Add a user

Description

Add a user in Opal internal users registry.

Usage

oadmin.user_add(opal, name, groups = NULL, password = NULL)

Arguments

opal

Opal object.

name

User name

groups

User groups

password

User password. If not provided, a password will be generated and returned.

See Also

Other user functions: oadmin.user_delete(), oadmin.user_enable(), oadmin.user_exists(), oadmin.user_profile_delete(), oadmin.user_profiles(), oadmin.user_reset_password(), oadmin.users()

Examples

## Not run: 
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
pwd <- oadmin.user_add(o, "foo", groups = c("datashield", "CNSIM"))
opal.logout(o)

## End(Not run)

[Package opalr version 3.4.1 Index]