Re: How do I set security for a printer for a logged
- From: Manfred Wilner <mwilner@xxxxxxxxxxxxxxx>
- Date: Fri, 19 Oct 2007 10:38:00 -0700
Thank you I will see what I can do with this.
--
\Manfred
"Kellie Fitton" wrote:
On Oct 18, 12:52 pm, Manfred Wilner <mwil...@xxxxxxxxxxxxxxx> wrote:.
Here is my problem.
I install a printer on a XP Pro system that has bi-directional support
through a Language Monitor.
In order to work properly the printer user must have all access to Manage
Printers and Documents or it will not print. In a logged down system the
standard user can't print unless I change the permissions in Printer
Properties -> Security for the user or Everyone to allow to Manage Printers
and Documents.
Now I can't do this via the UI since there are too many PC's to administer
and I am looking for a way to do this programatically. I have not found a way
to do this specifically for the printer user.
Can anyone point me to a solution?
Thanks a lot.
--
\Manfred
Hi,
You can use the following APIs to Get/Set the printer's security
information:
GetPrinter()
EnumPrinters() PRINTER_INFO_3
OpenPrinter()
SetPrinter() PRINTER_INFO_3
ClosePrinter()
http://msdn2.microsoft.com/en-us/library/ms535494.aspx
http://msdn2.microsoft.com/en-us/library/ms536005.aspx
http://msdn2.microsoft.com/en-us/library/ms536027.aspx
http://msdn2.microsoft.com/en-us/library/ms535488.aspx
http://msdn2.microsoft.com/en-us/library/ms535648.aspx
Kellie.
- References:
- How do I set security for a printer for a logged
- From: Manfred Wilner
- How do I set security for a printer for a logged
- Prev by Date: SEC_WINNT_AUTH_IDENTITY_EX domain member question
- Next by Date: RE: How do I set security for a printer for a logged
- Previous by thread: RE: How do I set security for a printer for a logged
- Next by thread: Service Principal Name in Kerberos
- Index(es):