SetPermissions
SetPermissions[obj,"pstring"]
sets permissions for the cloud object obj to be as specified by the string pstring.
SetPermissions[obj,classper]
sets permissions for the specified class of users to be per.
SetPermissions[pers]
sets permissions as specified by pers for the cloud object corresponding to the current document.
Details
- SetPermissions[obj,"pstring"] effectively changes the setting for the permissions option of a cloud object.
- SetPermissions[obj,classper] adds or overwrites any other permissions set for class but does not change settings for other classes.
- Classes can be individual users, PermissionsGroup objects, or overall classes such as All or "Authenticated".
- SetPermissions[…,"Public"] is equivalent to SetPermissions[…,AllAutomatic].
- SetPermissions[…,"Private"] resets all permissions to private.
Examples
open allclose allBasic Examples (3)
Properties & Relations (2)
SetPermissions["Private"] removes all permissions:
ClearPermissions[All] only removes permissions explicitly given for the class All:
Text
Wolfram Research (2015), SetPermissions, Wolfram Language function, https://reference.wolfram.com/language/ref/SetPermissions.html.
CMS
Wolfram Language. 2015. "SetPermissions." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SetPermissions.html.
APA
Wolfram Language. (2015). SetPermissions. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SetPermissions.html