Click or drag to resize

SecurityHandlerGetPermission Method

Gets permission

Namespace:  pdftron.SDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public bool GetPermission(
	SecurityHandlerPermission p
)

Parameters

p
Type: pdftron.SDFSecurityHandlerPermission
A Permission to be granted.

Return Value

Type: Boolean
true if the SecurityHandler permits the specified action p on the document, or false if the permission was not granted
Remarks
in order to check for permission the method will repeatedly(up to three times) attempt to GetAuthorizationData() and Authorize() permission. If the permission is not granted AuthorizeFailed() callback will be called. This callback method allows derived class to provide UI feedback for failed authorization.
See Also