| HasRolePermission | Scroll | 
REST URL (POST) https://tenant.thereforeonline.com/theservice/v0001/restun/HasRolePermission
SOAP Action (POST) http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/HasRolePermission
Checks if the currently logged on user has the specified role permission for the specified object.
Input Message: http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/HasRolePermission
| Element Name | Element Type | Restrictions | Description | 
| â– parameters | 
 | 
 | |
| â–¡ AccessMask | 
 | mandatory nillable | Sets the role permission access mask. | 
| â– Value | xs:unsignedLong | 
 | Represents the access mask of the permissions. See also: operation GetRolePermissionConstants. | 
| â– ObjNo | xs:int | mandatory | Sets the object number. | 
| â– ObjType | 
 | mandatory restriction enum (xs:string) - Unknown (-1) - Server (1) - Document (2) - Category (3) - Field (4) - DataType (5) - MediaPool (6) - Media (7) - IndexingProfile (8) - SpoolType (9) - Query (10) - User (11) - Group (12) - CaptureProfile (13) - PreProcessor (14) - COLDForm (15) - QueryTemplate (16) - Folder (17) - LoaderProfile (18) - WorkflowProcess (19) - WorkflowTask (20) - WorkflowInstance (21) - KeyDict (22) - StoragePolicy (23) - Device (24) - StorageArea (25) - RetentionPolicy (26) - Count (27) - UniversalConnectorProfile (29) - CaseDefinition (37) - Case (38) - Stamp (40) - ReportDefinition (41) - eForm (47) - eFormSubmission (48) - FormImage (99) - Keyword (100) - Migrate (101) - Connectors (900) - StorageCtgry (901) - ServerMediaPools (902) - StorageAreaMedia (903) - ServerDevices (904) - ServerMedia (905) - TheSystem (1000) - COLD (1001) - ExchangeConnector (1002) - LotusConnector (1003) - SAPConnector (1004) | Sets the object type. | 
| â– SubObjNo | xs:int | mandatory | Sets the sub-object number or 0 (zero). | 
Output Message: http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/HasRolePermissionResponse
| Element Name | Element Type | Restrictions | Description | 
| â– parameters | 
 | 
 | |
| â– HasRolePermission | xs:boolean | 
 | Returns true if the user has requested role permission. | 
Legend:
| â– | Not nillable element. | 
| â–¡ | Nillable element. | 
| ≡ | List of elements. | 
| Bold | Mandatory element. |