Reputation: 3091
I have a console application and i would like to call method from it under another user. Can i specify this user and password in attribute to method?
Upvotes: 1
Views: 112
Reputation: 498904
No, this is not possible.
You can't have a single method run under a different user context.
Upvotes: 1