Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
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
MBS(
"DynaPDF.GetUserRights"; /* Queries user rights. */
$PDF) /* The PDF reference returned from
DynaPDF.New. */
Less
Parameters
Parameter |
Description |
Example |
PDF |
The PDF reference returned from DynaPDF.New. |
$pdf |
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
Release notes
Blog Entries
This function checks for a license.
Created 17th October 2019, last changed 9th November 2021
DynaPDF.GetUseVisibleCoords
-
DynaPDF.GetUserUnit