TOPICA Basic Class Employee |
[This is preliminary documentation and is subject to change.]
The Employee class models employees (including users).
Property | Type | Description |
---|---|---|
Id | Integer | Internal ID of employee |
FirstName | String | First name |
LastName | String | Last name |
Name | String | Concatenation of FirstName and LastName Note that user.Name is equivalent to to User.FirstName + " " + User.LastName. |
Title | String | Title |
PhoneJob | String | |
PhonePrivate | String | |
MobileJob | String | |
MobilePrivate | String | |
FaxJob | String | |
FaxPrivate | String | |
EmailJob | String | |
EmailPrivate | String | |
Domain | String | Domain (used for login) - should be blank for employees that are not users. |
Username | String | Username (used for login) - will be blank for employees that are not users. |
DomainUsername | String | Contatenation of Domain and Username, separated by "/". The following expressions are equivalent: user.DomainUsername If(user.Domain="", user.Username, user.Domain + "/" + user.Username) If(user.Domain="", "", user.Domain + "/") + user.Username |
HashedPassword | String | The hashed value of the password. Note that it is not possible to compute the actual password from this hashed value. |
PasswordChangedDate | DateTime | The date and time when the password was last changed. |
OrgUnit | The employee's employer. | |
Profiles | TODO: ProfileCollection | The profiles asscociated with the employee (user). The profile and permission system only exists in version 4.6 and later. |
Permissions | TODO: PermissionCollection | The permissions asscociated with the employee (user) - determined by profiles. To check for a given permission: If( IsNull(user.Permissions["Everything"]), "User does not have permission to everything", "User has permission to everything (i.e. is system administrator)" ) The profile and permission system only exists in version 4.6 and later. |