Prev Next

PRINTER_INFO_3 info  Overview  Group

The PRINTER_INFO_3 structure specifies printer security information.

typedef struct _PRINTER_INFO_3 { // pri3 

    PSECURITY_DESCRIPTOR pSecurityDescriptor; 

} PRINTER_INFO_3; 

 

Members

pSecurityDescriptor
Points to a SECURITY_DESCRIPTOR structure that specifies a printer’s security information.

Remarks

The PRINTER_INFO_3 structure lets an application get and set a printer’s security descriptor. The caller may do so even if it lacks specific printer permissions, as long as it has the standard rights described in SetPrinter and GetPrinter. Thus, an application may temporarily deny all access to a printer, while allowing the owner of the printer to have access to the printer’s discretionary ACL.

See Also

SetPrinter, GetPrinter, PRINTER_INFO_1, PRINTER_INFO_2, PRINTER_INFO_4, SECURITY_DESCRIPTOR