|
Home > |
Contents > |
Index > |
|
|
USERMANAGER.GETDISPLAYABLEUSERNAME
Obtains the name of the logged-in user given the user-ID.
Syntax
<USERMANAGER.GETDISPLAYABLEUSERNAME
USER="user id"
VARNAME="variable name" />
Parameters
USER (required)
- Variable that represents the user-ID.
VARNAME (required)
- Name of the output variable to create.
Description
This tag displays the displayable user name of the user whose id is specified using the user attribute. The id of the user can be obtained
using the usermanager.getloginuser tag. The displayable name is stored in the output variable that is specified in the tag.
Error Numbers
The possible values of errno
include:
Value |
Description |
-10004 |
A required parameter is missing |
-12051 |
Directory error |
Example
<USERMANAGER.GETLOGINUSER VARNAME="loginuser"/>
<br/>The logged in user-ID is <CSVAR NAME="Variables.loginuser" />
<USERMANAGER.GETDISPLAYABLEUSERNAME USER="Variables.loginuser" VARNAME="example"/>
<br/>Expected out put for loginusername <CSVAR NAME="Variables.example" />
<IF COND="Variables.errno!=0">
<THEN>
<br/>Some error occurred. Errno is <CSVAR NAME="Variables.errno" />
</THEN>
</IF>
See Also
USERMANAGER.GETLOGINUSER
| |
Home > |
Contents >
|
Index > |
|
|
Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
|