Patent ID: 8259318

Claim:
A printing apparatus comprising: a reception unit configured to receive print data; an identification unit configured to identify user information contained in the received print data; a judgment unit configured to judge whether a user, who corresponds to user information which is different from the user information identified by the identification unit, has been logged on the printing apparatus; a printing unit configured to, if the judgment unit determines that the user, who corresponds to the user information which is different from the user information identified by the identification unit, has not been logged on the printing apparatus, print the received print data, and, if the judgment unit determines that the user, who corresponds to the user information which is different from the user information identified by the identification unit, has been logged on the printing apparatus, print the received print data in response to logout of the user from the printing apparatus; and a control unit configured to permit logon of a user who corresponds to the user information contained in the received print data and to inhibit logon of a user different from the user corresponding to the user information contained in the received print data, in a case where a request for logging on the printing apparatus is received during printing of the received print data by the printing unit.