Hemant
Hemant

Reputation: 19836

How to determine the admin users of a given machine on domain?

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.

Upvotes: 0

Views: 88

Answers (1)

TFD
TFD

Reputation: 24544

See Detect if user is in a group

Upvotes: 3

Related Questions