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