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.

Syntaxe

VBScript

session.GetUserMiscInfo 

Perl

$session->GetUserMiscInfo(); 
Identificateur
Description
session
Objet Session représentant la session en cours d'accès à la base de données.
Valeur renvoyée
A String containing any miscellaneous information about the user.

Exemples

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

Commentaires en retour