GetUserFullName

Description

Returns the full name of the user who is logged in for this session.

If you have access to the schema repository, you can change the text for the user's full name using the schema repository object User. Simply assign a new value to the FullName property of User.

Syntax

VBScript


session.GetUserFullName 

Perl


$session->GetUserFullName(); 
Identifier
Description
session
The Session object that represents the current database-access session.
Return value
A String containing the full name (such as "Jenny Jones") of the user who is logged in for this session.

Examples

VBScript


set sessionObj = GetSession 

' Get the user's personal information 
userName = sessionObj.GetUserFullName 
userLogin = sessionObj.GetUserLoginName 
userEmail = sessionObj.GetUserEmail 
userPhone = sessionObj.GetUserPhone 
userMisc = sessionObj.GetUserMiscInfo 

Perl


#Create a HCL Compass session

$sessionObj = $entity->GetSession();



#Get the user's personal information

$userName = $sessionObj->GetUserFullName();

$userLogin = $sessionObj->GetUserLoginName();

$userEmail = $sessionObj->GetUserEmail();

$userPhone = $sessionObj->GetUserPhone();

$userMisc = $sessionObj->GetUserMiscInfo();