View source: R/datashield.admin.R
dsadmin.profile_access | R Documentation |
When access is restricted, only users (or group of users) with this profile use permissions will be allowed to use this profile. When access is not restricted, all DataSHIELD users are allowed to use this profile. See also dsadmin.profile_perm.
dsadmin.profile_access(opal, name, restricted = TRUE)
opal |
Opal object. |
name |
Name of the profile. |
restricted |
Default value is TRUE. |
Other DataSHIELD profiles:
dsadmin.profile_create()
,
dsadmin.profile_delete()
,
dsadmin.profile_enable()
,
dsadmin.profile_exists()
,
dsadmin.profile_init()
,
dsadmin.profile_perm_add()
,
dsadmin.profile_perm_delete()
,
dsadmin.profile_perm()
,
dsadmin.profile_rparser()
,
dsadmin.profiles()
,
dsadmin.profile()
## Not run:
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
dsadmin.profile_create(o, name = 'survival', cluster = 'demo')
dsadmin.profile_access(o, name = 'survival', restricted = TRUE)
opal.logout(o)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.