General information
Category:
Windows API functions
Title:
How to determine that the User has Admin privileges
I want to find out if the currently logged User has Admin privileges. Using NetUserGetInfo() this can be done but I am not able to pass proper parameters and get the return value. NetUserGetInfo() returns error 123 or 2221. Please help or pass me a code snippet which works.
TIA,
Hitendra
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only