Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.GetUserRights
Queries user rights.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 9.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.GetUserRights"; PDF ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. |
Result
Returns number or error.
Description
Queries user rights.Returns the encryption flags of the last imported PDF file or -1 if the file was not encrypted. These flags must be considered when opening an encrypted PDF with user privileges, that is, when the open password was used to decrypt the file. The print flags rsPrint and rsPrintHighRes can be ignored for editing, but the file must be encrypted again with the same encryption flags.
The encryption flags are described in detail at DynaPDF.EnableEncryption. If no file was imported beforehand the return value is zero. Use DynaPDF.GetInIsEncrypted to determine whether the file was encrypted.
See also GetUserRights function in DynaPDF manual.
See also
- DynaPDF.EnableEncryption
- DynaPDF.GetInIsEncrypted
- DynaPDF.GetPageHeight
- DynaPDF.GetUseExactPwd
- DynaPDF.GetUserUnit
- DynaPDF.GetUseStdFonts
- DynaPDF.ImportEncryptionSettings
- DynaPDF.New
- DynaPDF.SetUseExactPwd
Release notes
- Version 9.5
- Added DynaPDF.GetUserRights function.
Blog Entries
- Neues MBS FileMaker Plugin 9.5
- MBS FileMaker Plugin 9.5 - More than 5900 Functions In One Plugin
- MBS FileMaker Plugin, version 9.5pr4
This function checks for a license.
Created 17th October 2019, last changed 9th November 2021