Home › Information processing apparatus that can be set by a user operation to limit functions provided to an external apparatus so as to include a printing function but exclude a file sharing function, method for controlling the same, and storage medium