Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Verify Admin level Access Rights
Message
De
25/09/2002 03:58:11
 
 
À
24/09/2002 16:42:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00703994
Message ID:
00704118
Vues:
20
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform