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

How can I get logged in user in "Repository Connections" in "Team Artifacts" view by API?

 
I know how to use API to log in repository and get logged in user infor. But if a user has logged in RTC repository in RTC Client, how can I get the user info by API.

0 votes


Accepted answer

Permanent link
Use the ITeamRepositoryService to get the repository you care about, or perhaps your code already has the ITeamRepository. Then you can call ITeamRepository.loggedInContributor() which will return the IContributor.
Michael Valenta selected this answer as the correct answer

0 votes


One other answer

Permanent link
Can anyone tell me how?

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
× 411

Question asked: May 24 '16, 7:18 a.m.

Question was seen: 1,839 times

Last updated: May 30 '16, 8:39 a.m.

Confirmation Cancel Confirm