<userinfo>
Displays information about the currently logged in user; rendered as text in a pre-formatted div. This information is stored with the user account in the Users Manager and can be set by the user if the users are allowed to edit their own account.
| Attribute | Allowed Values | Requirements | Description |
|---|---|---|---|
| type |
(realname|location|phonenumber|officephone|mobilephone|department| organization|supervisor|primaryemail) |
Required | Which field to display from the user information. |
While this information is automatically captured upon saving a record, you can also populate input fields on an input view with this code.
For example:
Copy Code
<input type="text" name="originating_user" size="20" required="false">
<attribute name="value"><userinfo type="realname"/></attribute>
</input>
For this tag to work properly, you must ensure the <value="" > attribute is not present in the input tag. Instead, add the value using the <attribute> tag.