Determining members of local groups via C#

后端 未结 6 1627
执念已碎
执念已碎 2020-12-15 15:13

I wondered whether anybody knows how to obtain membership of local groups on a remote server programmatically via C#. Would this require administrator permissions? And if so

6条回答
  •  猫巷女王i
    2020-12-15 15:39

    I'd be curious if the System.DirectoryServices.AccountManagement is fully managed. I've used System.DirectoryServices.ActiveDirectory which is a wrapper for COM Interop which has led to many headaches...

提交回复
热议问题