Index BlackBerry Workspaces SDK
BlackBerry Workspaces JSON
ChangeEntitiesIManage
Change multiple workspace member permissions for an imanage workspace or documents.
Parameters
Name Type Description

documentItemIds

Set(String)

Default value: new HashSet<>()

Collections of document item id

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

workspaceUuid

String

Required
Not null

The workspace's UUID

Json Format
{
workspaceUuid: String,
documentItemIds: Set(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
}),
forceAction: Boolean,
forceInheritanceOnDescendants: Boolean
}