oadmin.user_profile_delete {opalr} | R Documentation |
Delete a user profile
Description
Delete a user profile without deleting user if this one is defined in the Opal internal users registry. Fails silently if user profile does not exist. A user profile is the footprint of a user, created at first login. It keeps track of its activity, the realm from which he/she was authenticated, its groups at time of the last login and more.
Usage
oadmin.user_profile_delete(opal, name)
Arguments
opal |
Opal object. |
name |
User name |
See Also
Other user functions:
oadmin.user_add()
,
oadmin.user_delete()
,
oadmin.user_enable()
,
oadmin.user_exists()
,
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"))
oadmin.user_profile_delete(o, "foo")
opal.logout(o)
## End(Not run)
[Package opalr version 3.4.1 Index]