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

How do I retrieve the user name for the modifiedBy

I want to get the userId of the user that performs the save operation in the pre-process action.

I get a the IContributorHandle modifiedBy = workItem.getModifiedBy();
But can not get the userId.

0 votes



One answer

Permanent link
You can use IRepositoryItemService.fetchItem() to get the real item
(IContributor) for a handle (IContributorHandle). And then you can get the
userId from IContributor.

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,944

Question asked: Dec 01 '10, 9:55 a.m.

Question was seen: 4,888 times

Last updated: Dec 01 '10, 9:55 a.m.

Confirmation Cancel Confirm