Returns the name that was used to log in for this session.
Once created, you cannot change the login name of a user account. You must instead create a new user with the new account name. You can do this from Rational ClearQuest Designer, or if you have access to the schema repository, you can use the AdminSession object to create a new User object.
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
$sessionObj = $entity->GetSession(); #Get the user's personal information $userName = $sessionObj->GetUserFullName(); $userLogin = $sessionObj->GetUserLoginName(); $userEmail = $sessionObj->GetUserEmail(); $userPhone = $sessionObj->GetUserPhone(); $userMisc = $sessionObj->GetUserMiscInfo();