[Obsolete]Async invoke of HTTP POST request suppling a new PermissionItem to the baseInfo.Href / permissions end point. The Permission item is constructed by the metod from the supplied parametersIf the user or group already has a set of permissions for this resource, that entire set of permissions will be replace with the set of permissions provided in this call. Returns (Task.)
Name | Description |
---|---|
baseInfo | The Resource to update the permissions for. |
userId | The Key value of the User or Group |
privileges | The array ofvalues the user/group will have. |
includeChildren | if true and if setting permissions on a folder all child objects will have the same permissions set |
Example in C#
// Returns: nothing
await client.SetPermissionsAsync(BaseInfo baseInfo, String userId, Boolean includeChildren, Privilege privileges);