Show/Hide Toolbars

Therefore Programming Interface 3.0

 

This functions is called by the Thereforeā„¢ Navigator before a Query is executed.

 

public void HasPermission([in] object vUser, [in,out] object vQueryDef)

 

Arguments

 

vUser

The User, who wants to archive a document (see User).

vQueryDef

The Definition of the Query to be executed (see Query Definition).

 

Return

 

Return GRANT  (= 1) if the user should be allowed to execute the Query, else return NONE (= 0) or REVOKE ( = 2). If you want to use the Thereforeā„¢ Default Rights return UNKNOWN(= 9) and if that function is not implemented throw a new System.Runtime.InteropServices.NotImplementedException. This will use Thereforeā„¢ Default Rights and not call that function in future cases.

 

 

Return Value

Right

0

NONE

1

GRANT

2

REVOKE

9

UNKNOWN - Use Thereforeā„¢ Defaults

NotImplementedException

Use Thereforeā„¢ Default Rights and do not call that function again

 

 

Ā© 2022 Therefore Corporation, all rights reserved.