Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine that the User has Admin privileges
Message
From
29/08/2003 04:42:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
How to determine that the User has Admin privileges
Miscellaneous
Thread ID:
00824487
Message ID:
00824487
Views:
82
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
Map
View

Click here to load this message in the networking platform