GDoc::setPermissions
Description
In BBj 11.0 and higher, this method sets the permissions of the Google document.
Syntax
| Return Value | Method | 
| void | setPermissions(string id, int scope, int role) | 
Parameters
| Variable | Description | 
| id | Specifies the id, such as email or domain, for which the permission setting applies. | 
| scope | Specifies the scope of the permissions using one of the following constants: DEFAULT_SCOPE, DOMAIN_SCOPE, GROUP_SCOPE, USER_SCOPE. | 
| roll | Specifies the role of the permissions using one of the following constants: | 
Return Values
None.
Remarks
Throws an error occurs if the download is unsuccessful.
Example
|  |