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

Instantiating a Jazz user

Hi, I'd like to programatically set the owner for a work item using the setOwner method in the IWorkItem interface.

This method takes an IContributorHandle as the input parameter.

How can I get the handle for the user given its name or id?

0 votes



One answer

Permanent link
If you are trying to get the IContributorHandle from client side code,
you can use IContributorManager.fetchContributorByUserId

If you are trying to get the IContributorHandle from server side code,
you can use IContributorService.fetchContributorByUserId

-
Matt Lavin
Jazz Server Team


On Mon, 2008-12-08 at 20:07 +0000, lquintela wrote:
Hi, I'd like to programatically set the owner for a work item using
the setOwner method in the IWorkItem interface.

This method takes an IContributorHandle as the input parameter.

How can I get the handle for the user given its name or id?

1 vote

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

Question asked: Dec 08 '08, 3:01 p.m.

Question was seen: 7,263 times

Last updated: Dec 08 '08, 3:01 p.m.

Confirmation Cancel Confirm