Hevea documentation

Credential.CheckAuthorization Method 

Checks if the user is authorized to see a document.

public bool CheckAuthorization(
   string documentUrl
);

Parameters

documentUrl
document url

Return Value

true is the user request is authorized

Exceptions

Exception Type Condition
ArgumentNullException documentUrl is null
HeveaException the Allow and Deny properties have not been set (internal use error)

See Also

Credential Class | Hevea.Core Namespace