Oracle® Fusion Middleware Idoc Script Reference Guide 11g Release 1 (11.1.1) E10726-01 |
|
Previous |
Next |
Home > Idoc Script Reference Guide > Management and Configuratio... > UserName
Retrieves the username of the current user.
Type and Usage
Output
Returns the username as a string.
If the user is not logged in, evaluates to the string anonymous
.
Example
This markup displays user variables on a page:
<$if UserName$> Logon Name: <$UserName$><BR> User Name: <$UserFullName$><BR> E-mail Address: <$UserAddress$><BR> Default Account: <$UserDefaultAccount$><BR> <$endif$>