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

synGetPermissions(entity, principalId=NULL)

Arguments

entity

An Entity or Synapse ID to lookup

principalId

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

Details

Value

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

References

Note

See also

Examples

# NOT RUN {
synGetPermissions("syn11705401", "3320560")
# }