ICustomSecurityHandler.EncryptPermissions

ICustomSecurityHandler.EncryptPermissions method

Encrypt the document’s permissions field. The result will be written to the Perms encryption dictionary field. When opening a document, the value can be obtained in EncryptionParameters via the Perms field. Allows you to check if the document permissions have changed.

public byte[] EncryptPermissions(int permissions)
ParameterTypeDescription
permissionsInt32The document permissions in integer representation.

Return Value

The encrypted array.

See Also