Reset the password of a user from Opal internal users registry.
oadmin.user_reset_password(opal, name, password = NULL)
Opal object.
User name
User password. If not provided, a password will be generated and returned.
Other user functions:
oadmin.user_add()
,
oadmin.user_delete()
,
oadmin.user_enable()
,
oadmin.user_exists()
,
oadmin.user_profile_delete()
,
oadmin.user_profiles()
,
oadmin.users()
if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
pwd <- oadmin.user_add(o, "foo", groups = c("datashield", "CNSIM"))
oadmin.user_reset_password(o, "foo", password = "password1234")
oadmin.user_rm(o, "foo")
opal.logout(o)
}