Parameter
|
Description
|
Valid Values
|
{datasourceId}
|
The ID of the data source being shared with a user or users.
|
The ID is auto-generated when the data source is created and cannot be changed.
|
Property
|
Description
|
Usage
|
Valid Values
|
"userId"
|
The ID of the user account with which the data source is being shared.
|
Required
|
The ID is auto-generated when the user account is created and cannot be changed.
|
"permissions"
|
A list of data source permissions granted to the shared user account. The shared user will only be able to execute operations against the data source that correspond to the permissions granted.
The data source owner must specify the exact set of permissions for shared users as no permissions are inherited from the user or user's role.
|
Required
|
A comma separated list of permission IDs.
See Data source permissions for supported permissions.
|