pre-condition action: how to read userID
Hi,
I am developing a pre-condition and extending AbstractService, implementing IOperationAdvisor. I am binding the pre-condition to work item save operation. Is it possible to read connected users ID? If yes, Can you please provide appropriate APIs? Thanks, |
One answer
You can use "getAuthenticatedContributor()" to get the contributor ItemHandler and then use "IRepositoryItemService" to fetch IContributor.
Something like this:
Hi, |
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.