It's all about the answers!

Ask a question

How do I retrieve the user name for the modifiedBy

Cecilia Lindgren (431213) | asked Dec 01 '10, 9:55 a.m.
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.

One answer

permanent link
Qiong Feng Huang (76911610) | answered Dec 01 '10, 11:16 p.m.
You can use IRepositoryItemService.fetchItem() to get the real item
(IContributor) for a handle (IContributorHandle). And then you can get the
userId from IContributor.

Your answer

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.