[Obsolete] Represents the set of permissions a particular user or group has on a given resource
This is how you can decide to assign permissions or privileges for users to be able to access items.
PermissionItem
Field | Type | Inherited from | Description |
---|---|---|---|
CommonName | String | PermissionItem | Gets or sets the name of the common. |
Privileges | Privilege[] | PermissionItem | Gets or sets the privileges. |
UserId | String | PermissionItem | Gets or sets the user identifier. |
{
"CommonName" : "String",
"Privileges" : "[Privilege](/object-model/privilege)[]",
"UserId" : "String"
}
Example in C#
// Returns: IEnumerable<PermissionItem>
var permissionItem = await client.GetPermissionsAsync(BaseInfo baseInfo);
Example in C#
// Returns: nothing
await client.RemovePermissionsAsync(BaseInfo baseInfo, String userId);
Example in C#
// Returns: nothing
await client.SetPermissionsAsync(BaseInfo baseInfo, String userId, Boolean includeChildren, Privilege privileges);