Usage
synGetPermissions(instance, synapse_client=NULL)
Arguments
- instance
(File) The File instance to operate on.
- synapse_client
(Optional[Synapse]) If not passed in, the last created instance from the Synapse class constructor will be used.
Value
A Permissions object
Examples
if (FALSE) { # \dontrun{
## Using this function:
# Getting permissions for a Synapse Entity
library(synapser)
synLogin()
permissions = File(id = "syn123") |> synGetPermissions()
# Getting access types list from the Permissions object
permissions$access_types
} # }