How to get the domain name of the user doing the print with the print job ID?
I can get the username from, for example, JOB_INFO_2 retrieved via GetJob, but none of the JOB_INFO_ # structures contain the domain name of the user.
I can get the print server domain using IPGlobalProperties.GetIPGlobalProperties().DomainName , but it may not be the same as the user domain, so it is not a reliable solution.
source share