Impersonation and NetworkCredential

后端 未结 2 2089
终归单人心
终归单人心 2020-12-29 12:59

I need to pass a NetworkCredential object with the credentials of the currently impersonated user to a web service from an asp.net application.
My code look

2条回答
  •  旧巷少年郎
    2020-12-29 13:41

    It's not possible to use the asp.net impersonated user (Current.User.Identity) for network authentication, it only works locally.

提交回复
热议问题