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

Examples

open allclose all

Basic Examples  (3)

By default, cloud objects can be read only by the owner:

Make the cloud object visible to the world:

Make the cloud object private again:

Add permissions for a specific user without changing permissions for other classes:

Set permissions for the current cloud document:

Scope  (1)

Use a permissions group:

Properties & Relations  (2)

SetPermissions["Private"] removes all permissions:

ClearPermissions[All] only removes permissions explicitly given for the class All:

Introduced in 2015
 (10.2)