简体   繁体   中英

How to impersonate windows authenticated login user without password in c#

如何在Windows身份验证应用程序C#中模拟没有密码的用户?

All users have passwords.

From your comments on the main thread, you mention that the application is taking only a service account. This is not uncommon.

In an ideal scenario, your organization will have created a separate service account specifically for testing. The name and password for that account will be known to the development team, so that they can be provided during development and testing.

If this is not the case, you may be using a production user account, and it becomes difficult to distinguish between activity performed during development and release.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM