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

create an user programmatically

Hi,

How do I create an user programmatically? From the comment of IContributorService.saveContributor(IContributor), I know this method can create a contributor in the repository. However, I have no idea how to create a IContributor object. Can anybody give me a hand?

I do know how to create a workitem, by using the method
IWorkItemService.createWorkItem2. However, I can't find an analogous method in the IContributorService!!!

Please help! Thanks!

Annie

0 votes



One answer

Permanent link
IContributor teamMember = (IContributor) IContributor.ITEM_TYPE.createItem();


HTH
Darins

Hi,

How do I create an user programmatically? From the comment of IContributorService.saveContributor(IContributor), I know this method can create a contributor in the repository. However, I have no idea how to create a IContributor object. Can anybody give me a hand?

I do know how to create a workitem, by using the method
IWorkItemService.createWorkItem2. However, I can't find an analogous method in the IContributorService!!!

Please help! Thanks!

Annie

									

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

Question asked: Mar 20 '08, 3:50 p.m.

Question was seen: 7,910 times

Last updated: Mar 20 '08, 3:50 p.m.

Confirmation Cancel Confirm