I need to programmatically determine the name of the users who are administrator on a given machine on a windows network. How can I do it?
I intend to use C# but if i need to use PInvoke to achieve this, that wouldn't be problem.
I need to programmatically determine the name of the users who are administrator on a given machine on a windows network. How can I do it?
I intend to use C# but if i need to use PInvoke to achieve this, that wouldn't be problem.