GDoc::getRole
Description
In BBj 11.0 and higher, this method returns the role of the specified entity for the Google document.
Syntax
| Return Value | Method | 
| int | getRole(string id) | 
Parameters
| Variable | Description | 
| id | Specifies the id of the entity. | 
Return Values
Returns the role of the specified entity for the Google document. This will be one of the following constant values: NO_ROLE, OWNER_ROLE, PEEKER_ROLE, READER_ROLE, WRITER_ROLE .
Remarks
None.
Example
|  |