oadmin.user_enable | R Documentation |
Enable or disable a user from Opal internal users registry.
oadmin.user_enable(opal, name, enabled = TRUE)
opal |
Opal object. |
name |
User name |
enabled |
Logical to enable a user. |
Other user functions:
oadmin.user_add()
,
oadmin.user_delete()
,
oadmin.user_exists()
,
oadmin.user_profile_delete()
,
oadmin.user_profiles()
,
oadmin.user_reset_password()
,
oadmin.users()
## Not run:
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
pwd <- oadmin.user_add(o, "foo", groups = c("datashield", "CNSIM"))
oadmin.user_enable(o, "foo", enabled = FALSE)
opal.logout(o)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.