ImageGear Professional v18.2 > API Reference Guide > PDF Component API Reference > PDF Component Objects > General API > IGPDFCtl Control > IGPDFCtl Events > Authorization Event |
Called when an encrypted document is being opened, to determine whether or not the user is authorized to open the file. Event used by document open routine.
This event implements whatever authorization strategy you choose and calls the appropriate security handler (the one that was used to secure the document) to obtain and check authorization data.
This event should obtain whatever information is needed to determine whether the user is authorized to open the file, then call PermRequest (which returns the permissions that the authentication data enables).
Authorization(Params As IGPDFAuthEventParams)
Name | Description |
---|---|
Params | Event's parameters (see IGPDFAuthEventParams Object) |
None