Index BlackBerry Workspaces SDK
BlackBerry Workspaces JSON
PermissionsToUserForGetPermissions
Permission to a user for getting permissions
Parameters
Name Type Description

accessLevel

AccessLevel

Internal flag, do not send it with your request.

Possible values: [SECURE_TRANSFER, UNDEFINED, FULL_CONTROL, OPEN].

comment

boolean

Is comment allowed.

copy

Boolean

Is copy allowed.

defaultExpirationDays

Integer

The Amount of days to have files available for VDR default permissions. In the context of VDR default permissions, giving a specific expiration date for default permissions is not supported. However you may decide that files uploaded will only be available for a certain amount of days after their upload.

download

Boolean

Is download protected allowed.

downloadOriginal

Boolean

Is download original allowed.

edit

Boolean

Is edit allowed.

expirationDate

Date

Expiration date of the permission set (default: 1 month) (JSON format)

latestChangeDate

Date

Date of latest change

minExpirationDate

Date

Minimum expiration date

neverExpires

Boolean

Never expires

pinRequired

boolean

Requires pin in order to view

print

Boolean

Is print allowed.

progAccess

Boolean

Is programmatic access allowed.

revoked

Boolean

If permission were revoked.

spotlight

Boolean

Is spotlight on.

watermark

Boolean

Is watermark on.

Json Format
{
accessLevel: Consts$AccessLevel,
downloadOriginal: Boolean,
download: Boolean,
copy: Boolean,
print: Boolean,
edit: Boolean,
spotlight: Boolean,
watermark: Boolean,
expirationDate: Date,
defaultExpirationDays: Integer,
neverExpires: Boolean,
progAccess: Boolean,
pinRequired: Boolean,
comment: Boolean,
minExpirationDate: Date,
latestChangeDate: Date,
revoked: Boolean
}