Returns an object that specifies the user with the integer ID.
Core function
New in package 163Syntax
UserInfo( integerID )
Description
UserInfo is a top-level function and is not associated with any object.
You can use this function to obtain information about a user by their integer ID. The function returns an object whose properties correspond to those of the user. These properties include:
Property | Description |
---|---|
FirstName | The first name of the user. |
LastName | The last name of the user. |
UserID | User ID/Login ID New in package 166 |
Name | Synonym of UserID |
ID | The user's unique integer ID number. |
EmployeeNumber | If the database is a Job Manager database, the value of this property will be the user's employee number. If the database is Virtual Ticket-only, the value of this property will be 0. |
Email of the user. |
Examples
Information about the user can be obtained as follows: