Patent ID: 8060928

Claim:
An information-processing apparatus capable of maintaining a state in which a plurality of users has been logged in to the information-processing apparatus, comprising: a display control unit configured to cause a display unit to switch an operation screen for a user who is currently logged in to the information-processing apparatus between an active state where the user can operate the operation screen and an inactive state where the user cannot operate the operation screen; and a control unit configured to automatically log out a user who is currently logged in to the information-processing apparatus in a case where an operation screen for the user is in the inactive state when a predetermined idle time has elapsed, wherein the control unit controls, in a case where an operation screen for a first user is switched to the inactive state in accordance with switching an operation screen for a second user to the active state, so as not to automatically log out the first user, even if an operation screen for the first user is in the inactive state when the predetermined idle time has elapsed.