How to run c# application with admin creds?

后端 未结 7 788
旧时难觅i
旧时难觅i 2020-12-19 08:03

I wrote a C# application that unlocks users when they are locked out of their account (Active Directory). The application searches for users in a specific OU and will list t

7条回答
  •  佛祖请我去吃肉
    2020-12-19 08:19

    The goal behind this application strikes me as wrong. You are basically trying to create a means of allowing non-admin users to unlock accounts...which is, for good reason, a feature not available to normal users.

提交回复
热议问题