Index BlackBerry Workspaces SDK
BlackBerry Workspaces JSON
ChangeEntitiesVdr
Change multiple workspace member permissions for a workspace.
Parameters
Name Type Description

folderPathOrId

PathOrFolderId

Id or path of a single folder to modify

folderPathsOrIds

Set(PathOrFolderId)

Default value: new HashSet<>()

Id or paths of multiple folders to modify

forceAction

Boolean

Not null
Default value: FALSE

Whether to do the action on the entities that haven't failed (true) Or through error on first error found (false)

forceInheritanceOnDescendants

Boolean

Not null
Default value: FALSE

if set to TRUE, all subfolders and files of the input folders will inherit permissions and get their parents' permissions (including the change made by this operation)

permittedEntitiesWithPermissions

Set(PermittedEntityWithPermissionsFromUser)

Required
Not null

The entities with their new permissions.

roomGuid

String

Guid of the workspace where the folder exists

roomId

Integer

Id of the workspace where the folder exists

Json Format
{
roomId: Integer,
roomGuid: String,
permittedEntitiesWithPermissions: Set(
{
permittedEntity:
{
address: String,
entityType: EntityType
},
permissions:
{
downloadOriginal: Boolean,
download: Boolean,
copy: Boolean,
print: Boolean,
edit: Boolean,
spotlight: Boolean,
watermark: Boolean,
expirationDate: Date,
defaultExpirationDays: Integer,
neverExpires: Boolean,
progAccess: Boolean,
comment: Boolean
},
isDefault: Boolean,
revokePermissions: Boolean,
role: String
}),
folderPathOrId:
{
path: String,
folderId: Integer,
folderGuid: String
},
folderPathsOrIds: Set(
{
path: String,
folderId: Integer,
folderGuid: String
}),
forceAction: Boolean,
forceInheritanceOnDescendants: Boolean
}