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

addEntityToAllDocs

boolean

Default value: false

If left empty will be treated as false.

applyToExistingDocs

boolean

Default value: false

Apply these permissions to the files this entity is already authorized for.

description

String

Set description (only for groups)

folderPathOrId

PathOrFolderId

Default value: null

identifier

String

Only for workspace groups - adds another identifier to find the group by. This identifier may be supplied instead of workspace group name or address, in all workspace group based operations.

isDefaultEntity

boolean

Deprecated
Default value: false

Set if the entity is default for workspace

newGroupName

String

Default value: null

Only for workspace groups - change the workspace group name to the name given here.

newPermissions

PermissionFromUser

Workspace permissions

permittedEntity

PermittedEntityFromUser

Required

The entities to modify.

role

String

The new role in the workspace.

Json Format
{
permittedEntity:
{
address: String,
entityType: EntityType
},
identifier: String,
newGroupName: String,
addEntityToAllDocs: Boolean,
isDefaultEntity: Boolean,
applyToExistingDocs: Boolean,
role: String,
description: String,
newPermissions:
{
downloadOriginal: Boolean,
download: Boolean,
copy: Boolean,
print: Boolean,
edit: Boolean,
spotlight: Boolean,
watermark: Boolean,
expirationDate: Date,
defaultExpirationDays: Integer,
neverExpires: Boolean,
progAccess: Boolean,
comment: Boolean
},
folderPathOrId:
{
path: String,
folderId: Integer,
folderGuid: String
}
}