A non-transitory computer-readable storage medium storing instructions that, when executed by a computer of an image processing apparatus that is capable of communicating with an information processing apparatus and has a scanner device that scans a document to generate image data, cause the image processing apparatus to perform a method comprising:
- authenticating a user of the image processing apparatus, and allowing the user to log in to the image processing apparatus in accordance with success in authenticating the user, wherein in a case where the user logs in to the image processing apparatus through a login unit, the image processing apparatus is shifted into a state where the user is able to use a function of the image processing apparatus via an operation unit;
- receiving, from the information processing apparatus, a destination for a transmission destination of the image data generated by the scanner device, and information related to a user to transmit the destination, wherein the destination and the information are transmitted from the information processing apparatus after the user logs in to the image processing apparatus through the login unit;
- determining, in accordance with the receiving the information related to the user to transmit the destination, whether a user corresponding to the received information related to the user to transmit the destination matches a user who has logged in to the image processing apparatus, since before the information is received, through the login unit;
- displaying a setting screen on the operation unit, in accordance with determining that the user corresponding to the received information related to the user to transmit the destination matches the user who has logged in to the image processing apparatus, since before the information is received, through the login unit, wherein the setting screen is a screen related to execution of scan and transmission processes using the received destination;
- and
- executing the scan and transmission processes based on reception of a predetermined user's operation.