How to get the current user's id?
2 answers
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:
(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
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