synGetPermissions: synGetPermissions

synGetPermissionsR Documentation

synGetPermissions

Description

Get the permissions that a user or group has on an Entity.

Usage

synGetPermissions(entity, principalId=NULL)

Arguments

entity

An Entity or Synapse ID to lookup

principalId

Identifier of a user or group (defaults to PUBLIC users)

Value

An array containing some combination of ['READ', 'CREATE', 'UPDATE', 'DELETE', 'CHANGE_PERMISSIONS', 'DOWNLOAD'] or an empty array

Examples

## Not run: 
synGetPermissions("syn11705401", "3320560")

## End(Not run)

Sage-Bionetworks/synapser documentation built on April 13, 2025, 9:07 p.m.