User class
User class
Class that represents a user.
The User type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a new instance of User class. |
| init | Initializes a new instance of User. |
Properties
| Property | Description |
|---|---|
| The user email address. | |
| id | The User identifier. |
| name | The user name. |
| role | The role of the user. |
Example
from groupdocs.annotation.models import User, Role
user = User(name="Tom", role=Role.EDITOR)
Guides
Task guides that use User:
See Also
- module
groupdocs.annotation.models