Index BlackBerry Workspaces SDK
BlackBerry Workspaces JSON
PermissionFromUser
A permission from a user
Parameters
Name Type Description

comment

boolean

Is comment allowed.

copy

boolean

Flag indicating that copying the file is allowed.

defaultExpirationDays

Integer

Default value: null

The Amount of days to have files available for workspace default permissions. You may decide that files uploaded will only be available for a certain amount of days after their upload, to this entity.

download

boolean

downloadOriginal

boolean

Flag indicating that downloading original file is allowed.

edit

boolean

Flag indicating that editing the file is allowed.

expirationDate

Date

Expiration date for permissions.

neverExpires

boolean

True if this never expires, False if not

print

boolean

Flag indicating that printing the file is allowed.

progAccess

boolean

Is programmatic access allowed.

spotlight

boolean

Flag indicating the spotlight is on.

watermark

boolean

Flag indicating the watermark is on.

Json Format
{
downloadOriginal: Boolean,
download: Boolean,
copy: Boolean,
print: Boolean,
edit: Boolean,
spotlight: Boolean,
watermark: Boolean,
expirationDate: Date,
defaultExpirationDays: Integer,
neverExpires: Boolean,
progAccess: Boolean,
comment: Boolean
}