Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to tell user has Admin rights in Wk2 or XP in VFP7?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
How to tell user has Admin rights in Wk2 or XP in VFP7?
Miscellaneous
Thread ID:
00707541
Message ID:
00707541
Views:
71
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!
Next
Reply
Map
View

Click here to load this message in the networking platform