Impersonating a printjob

Hi all,

I was wondering if it is possible to impersonate a print job process (custom
print processor or port monitor), so it would run in the security context of
the user who started the print job. Alternative it would also be ok just to
get the user handle/ SID.

I tested with “ImpersonatePrinterClient” and “RevertToPrinterSelf”, with out
succes. I tested from within the print processor.

Also:
Is there anyone that knows how to use the undocumented function
GetClientUserHandle, exported from spoolss.dll?

Best regards
Christoph Lindemann


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com