What is a quick way to find out if someone is an administrator or not in XP/2000 systems? Is there an API or some other visual C++ methods for it ..... Thanx
The easiest way - try to make the operation You wish and check, if it was successfully. If not, You have not enough rights.
There are no APIs to do that. You can use some functions to find it out, for example, NetGroupAdd(...) - this function can be executed from admins and account operators only, and for groups with administrative rights - from administrators only.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.