Hi all
I need to retrieve the process definitions that are accessible to the current user from the K2 Server. It looks to me like I need to call one of the "GetProcesses"-type of methods on SourceCode.Workflow.Management.WorkflowManagementServer but I don't know the following
- Do I need to connect using an admin user when going through the management API?
- In the management API there is no ImpersonateUser() method like the client API so, if I do connect as an admin, would I then retrieve all process definitions accessible to the admin user and not those accessible to the logged on user?
- Is it possible to retrieve process definitions through the client API?
Can SourceCode.Workflow.Management.Criteria.ProcessCriteriaFilter be used to filter out records not accessible to a particular user if I have connected through the management API using an admin user?
Thanks
James