Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verify Admin level Access Rights
Message
From
25/09/2002 03:58:11
 
 
To
24/09/2002 16:42:39
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00703994
Message ID:
00704118
Views:
19
>In a pre-check routine to install a new aplication, I need to check whether the current user has local Admin level access. Does anyone have any idea what API, registry or WSH call(s) might provide this info? Is this OS dependent? (i.e. different for Win95 vs. XP)

Well, for one thing, on Win9x/Me the user always has "admin-like" privileges.

On NT and above you need to check. I think if you search the messages here there have been several threads addressing this.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform