dsadmin.profile_exists: Check a DataSHIELD profile exists

Description Usage Arguments See Also Examples

View source: R/datashield.admin.R

Description

Check a DataSHIELD profile exists

Usage

1

Arguments

opal

Opal object.

name

Name of the profile.

See Also

Other DataSHIELD profiles: dsadmin.profile_access(), dsadmin.profile_create(), dsadmin.profile_delete(), dsadmin.profile_enable(), dsadmin.profile_init(), dsadmin.profile_perm_add(), dsadmin.profile_perm_delete(), dsadmin.profile_perm(), dsadmin.profile_rparser(), dsadmin.profiles(), dsadmin.profile()

Examples

1
2
3
4
5
6
7
## Not run: 
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
if (!dsadmin.profile_exists(o, name = 'survival'))
  dsadmin.profile_create(o, name = 'survival', cluster = 'demo')
opal.logout(o)

## End(Not run)

opalr documentation built on Oct. 26, 2021, 5:06 p.m.