[英]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. 如果不是这种情况,则您可能正在使用生产用户帐户,并且很难区分在开发和发布期间执行的活动。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.