Represents a user of the Timesheet server.
Most operations on user records can only be performed by an administrator; ordinary users can change their own password and modify a few parts of their own records, but little else.
Special note (5.0m2 and higher): the two User related methods addFullUser and modifyUser have one change in this version in Timesheet. The three GUI fields (Time, Expense, and Mileage) may be specified by the GUI's pname (display name) as well as by the ID. A ValueError exception will be raised in the name cannot be converted to a unique ID. The getUser method does not understand this convention – searches for user records based on GUIs must use the GUI IDs.
| Name | Type | Description |
|---|---|---|
| id | string |
The username; a short alphanumeric string which uniquely identifies the user. |
| num_input | integer |
The number of blank input lines that are presented on this user's time entry screen. |
| num_dates | integer |
The number of date columns that are presented on this user's time entry screen. |
| full_name | string |
The full name of this user. |
| default_comment | string |
A string which will be used as the default value for the _comment_ field in time and expense records. |
| expense_gui | string |
The ID of the expense entry GUI for this user. |
| time_gui | string |
The ID of the time entry GUI for this user. |
| domain | string |
The domain this user belongs to. |
| mileage_gui | string |
The ID of the mileage entry GUI for this user. |
© Copyright 1997-2007 Journyx