标签: c# .net windows
我需要以编程方式确定Windows网络上给定计算机上的管理员用户的名称。我该怎么办?
我打算使用C#,但如果我需要使用PInvoke来实现这一点,那就不会有问题了。
答案 0 :(得分:3)
请参阅Detect if user is in a group