Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to get the current user's id?

When I'm working on the Team Area or other editors, how can I get the current user's id? I found that in the member list, the current user have a special icon. How can I get that information? Thanks in advance!

Yabin

0 votes



2 answers

Permanent link
In M6, you can right click on a project area or repository connection
(for example, in the Team Artifacts view) and choose "Open My User Editor".

In older builds, you can right click on a repository connection and
choose "Administer -> Open Users..." to open your user editor.

The editor shows the user name, user id, email address, etc.

--
Jared Burns
Jazz Process Team

dangyb wrote:
When I'm working on the Team Area or other editors, how can I get the
current user's id? I found that in the member list, the current user
have a special icon. How can I get that information? Thanks in
advance!

Yabin

0 votes


Permanent link
When I'm working on the Team Area or other editors, how can I get the
current user's id? I found that in the member list, the current user
have a special icon. How can I get that information? Thanks in
advance!

If you were referring to a programmatic way:
Use ITeamRepository#loggedInContributor() on the client or
AbstractService#getAuthenticatedContributor() on the server.

Patrick
Jazz Work Item Team

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,952

Question asked: Apr 08 '08, 1:33 p.m.

Question was seen: 8,542 times

Last updated: Apr 08 '08, 1:33 p.m.

Confirmation Cancel Confirm