new User(username, isAdmin, isReadOnly)
Creates a new PDFTron.WebViewer.User
Parameters:
Name | Type | Description |
---|---|---|
username |
string | The unique name used to identify the user. |
isAdmin |
boolean | Indicates if the user has administrative permissions. |
isReadOnly |
boolean | Indicates if the user only has read-only permissions. |