Skip to main content

We are implementing the functionality to retrieve the EnviromentFields of K2 on a local environment.

when I execute the code from visual studio on my environment, with "k2admin" connection string, am not able to get the EnviromentFields as  the currentUser am getting as the windows loggedin user.

 

But, when I execute the same code in the visual studio of K2 environment, it is working perfectly.

 

Can someone help me with retriving the environment fields.

HI,

Did you try  as 'k2service' user ?


Reply