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!