Show/Hide Toolbars

Therefore Web API Programming Interface 1.0

REST URL (POST) https://tenant.thereforeonline.com/theservice/v0001/restun/HasPermissions

SOAP Action (POST) http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/HasPermissions

 

Checks if the currently logged on user has the specified permission(s) for the specified object.

 

 

Input Message: http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/HasPermissions

 

Element Name

Element Type

Restrictions

Description

β–  parameters

 

 


β–  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)

- Count (26)

- CaseDefinition (37)

- Case (38)

- 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.

β–  PermType

 

mandatory

restriction flag (xs:string)

β˜‘ IgnorePermissions (0)

β˜‘ OperatorPermission (1)

β˜‘ AdminPermission (2)

β˜‘ SetPermPermission (4)

β˜‘ AccessPermission (8)

β˜‘ TheSystemConnectPermission (16)

β˜‘ TheSystemWritePermission (32)

β˜‘ CategoryArchivePermission (64)

β˜‘ QueryAdminPermission (128)

β˜‘ QueryExecutePermission (256)

β˜‘ QueryCtgrytabsPermission (512)

β˜‘ KeywordDictionaryChangePermission (1024)

β˜‘ QueryTemplatesReadPermission (2048)

β˜‘ DocViewinHitListPermission (4096)

β˜‘ DocViewDocPermission (8192)

β˜‘ DocPrintPermission (16384)

β˜‘ DocExportSendPermission (32768)

β˜‘ DocViewAnnotationPermission (65536)

β˜‘ DocHideAnnotationPermission (131072)

β˜‘ DocViewHistoryPermission (262144)

β˜‘ WfParticipatePermission (262144)

β˜‘ DocAddAnnotationsPermission (524288)

β˜‘ WfAddDocPermission (524288)

β˜‘ DocDeleteAnnotationsPermission (1048576)

β˜‘ WfViewHistoryPermission (1048576)

β˜‘ DocEditPermission (2097152)

β˜‘ WfDelegatePermission (2097152)

β˜‘ DocUpdateIndexDataPermission (4194304)

β˜‘ WfViewAllPermission (4194304)

β˜‘ DocAddPagePermission (8388608)

β˜‘ WfDeletePermission (8388608)

β˜‘ DocDeletePagePermission (16777216)

β˜‘ DocDeleteDocPermission (33554432)

β˜‘ CategoryFieldReadPermission (268435456)

β˜‘ CategoryFieldSetPermission (536870912)

β˜‘ CategoryFieldChangePermission (1073741824)

Sets permission type.

β–  SubObjNo

xs:int

mandatory

Sets the sub-object number.

 

 

Output Message: http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/HasPermissionsResponse

 

Element Name

Element Type

Restrictions

Description

β–  parameters

 

 


β–  HasPermissions

xs:boolean

optional

Returns true if the user has requested permissions.

 

 

 

Legend:

 

β– 

Not nillable element.

β–‘

Nillable element.

≑

Unbounded element (List of elements).

Normal

Optional element.

Bold

Mandatory element.

 

 

Β© 2022 Therefore Corporation, all rights reserved.