Index BlackBerry Workspaces SDK
BlackBerry Workspaces JSON
AddEntityVdr
List information when adding a user to a workspace.
Parameters
Name Type Description

addEntityToAllDocs

boolean

Default value: false

If left empty will be treated as false.

description

String

Default value: ""

Set description (only for groups)

groupMembers

AddMembersToGroup

In case of a workspace group these members will be added to the group, otherwise this will be ignored.

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

Default value: false

Set if the entity is default for workspace

newPermissions

PermissionFromUser

Required

Workspace permissions

permittedEntity

PermittedEntityFromUser

Required

The entity to add

role

String

The new role in the workspace.

Json Format
{
permittedEntity:
{
address: String,
entityType: EntityType
},
identifier: String,
addEntityToAllDocs: Boolean,
isDefaultEntity: Boolean,
role: String,
description: String,
groupMembers:
{
membersList: List(
{
entity:
{
address: String,
entityType: EntityType
}
}),
managersList: List(
{
entity:
{
address: String,
entityType: EntityType
}
}),
emailSubject: String,
emailMessage: String,
isSendMail: Boolean
}),
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
}
}