sets permissions for the cloud object obj to be as specified by the string pstring.
sets permissions for the specified class of users to be per.
sets permissions as specified by pers for the cloud object corresponding to the current document.
- SetPermissions effectively changes the setting for the permissions option of a cloud object.
- SetPermissions[obj,class->per] overwrites any other permissions set for class.
- Classes can be individual users, PermissionsGroup objects, or overall classes such as All or "Authenticated".
- SetPermissions[…,"Public"] is equivalent to SetPermissions[…,All->Automatic].
- SetPermissions[…,"Private"] resets all permissions to private.