FileSystemService.setPrivileges Method

Sets privileges on the given file or folder.
 

Parameters

id

Type: String
The ID of the file or folder to set the privileges on.
privilegeAssignments

Type: Array
ElementType: PrivilegeAssignment
The privilege assignments to set.
inheritanceBehavior

Type: PrivilegeInheritanceBehavior
(optional) The inheritance behavior. Defaults to inherit.
Optional: True
propagationBehavior

Type: PrivilegePropagationBehavior
(optional) The privilege propagation behavior. Defaults to none.
Optional: True

Return Value


Type: jQuery.Promise
Value: String
A promise object that is resolved when the call is complete.