Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to tell user has Admin rights in Wk2 or XP in VFP7?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
How to tell user has Admin rights in Wk2 or XP in VFP7?
Divers
Thread ID:
00707541
Message ID:
00707541
Vues:
72
I would like to write a routine that would install the Amyuni printer driver from the menu of our program, if the driver never got installed initially. However, I need to know if the current user has the rights to install a printer driver before letting them install the driver. If they don't have rights, I would inform them they need to log in as Administrator prior to attempting this option.

Does anyone know how to tell whether a user has rights to create a printer driver in W2k or XP programmatically in VFP7 or whether they are logged in as Admininstrator? An API call would be nice, but need an example on how to use it.

Thanks in advance!

John
John Fatte'

Life is beautiful!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform