It's all about the answers!

Ask a question

How to get Logged In User Name in JAZZ through Javascript / java code


Bishwajit Behera (611) | asked Dec 20 '13, 10:45 a.m.
edited Dec 20 '13, 11:09 a.m. by Fariz Saracevic (919613)
HI All,

Can somebody please guide me with the below issue.

We are migrating some forms designed in ClearQuest to JAZZ. In one of the form we need to display the logged in user. Currently in ClearQuest that is handled using perl script which is given below for reference  -

        my $session = $entity->GetSession();    

        my $myName = $session->GetUserLoginName();

How can we achieve the same thing in JAZZ? Is there any Javascript way to do this? Please suggest !!
In case we don't have any option through javascript how can we do this using java code?

Thanks,

Bishwajit

Comments
Fariz Saracevic commented Dec 20 '13, 11:10 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

Behera, I have adjusted your tags as your post is not related to JazzHub but probably CLM and/or RTC.


sam detweiler commented Dec 20 '13, 11:42 a.m.

Unfortunately the user info is not available in the javascript extensions.  


where are u implementing these 'forms' on RTC? workitem fields?

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.