How to use LogonUser properly to impersonate domain user from workgroup client

前端 未结 6 1897
走了就别回头了
走了就别回头了 2020-12-02 09:44

ASP.NET: Impersonate against a domain on VMWare

This question is what I am asking, but the answer does not provide details on how the _token is derived. It seems to

6条回答
  •  旧时难觅i
    2020-12-02 10:44

    I was having the same problem. Don't know if you've solved this or not, but what I was really trying to do was access a network share with AD credentials. WNetAddConnection2() is what you need to use in that case.

提交回复
热议问题