Class PDFTron.WebViewer.User
A utility class to help manage user permissions for annotations.
Constructor Attributes | Constructor Name and Description |
---|---|
PDFTron.WebViewer.User(username, isAdmin, isReadOnly)
Creates a new PDFTron.WebViewer.User
|
Class Detail
PDFTron.WebViewer.User(username, isAdmin, isReadOnly)
Creates a new PDFTron.WebViewer.User
- Parameters:
- {string} username
- the unique name used to identify the user.
- {Boolean} isAdmin
- indicates if the user has administrative permissions.
- {Boolean} isReadOnly
- indicates if the user only has read-only permissions.