GetUserMiscInfo

Description

Returns miscellaneous information about the user who is logged in for this session.

Miscellaneous information is any information that has been entered by the administrator into that user's profile. Information about the user's login name, full name, e-mail address, phone number, and groups is stored separately and can be retrieved by the corresponding Session methods.

If you have access to the schema repository, you can change the text of the miscellaneous information using the schema repository object User. Simply assign a new value to the MiscInfo property of User.

Syntax

VBScript


session.GetUserMiscInfo 

Perl


$session->GetUserMiscInfo(); 
Identifier
Description
session
The Session object that represents the current database-access session.
Return value
A String containing any miscellaneous information about the user.

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 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();