SecurityHandlerGetPermission Method |
Gets permission
Namespace:
pdftron.SDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public bool GetPermission(
SecurityHandlerPermission p
)
Public Function GetPermission (
p As SecurityHandlerPermission
) As Boolean
public:
virtual bool GetPermission(
[InAttribute] SecurityHandlerPermission p
) sealed
function GetPermission(p);
Parameters
- p
- Type: pdftron.SDFSecurityHandlerPermission
A Permission to be granted.
Return Value
Type:
Booleantrue 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