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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See Detect if user is in a group