+ //! Initiate a session for the user with the given credentials if one does not already exist.
+ /** This function is called during the init process for a new client. If there is no session for the
+ * given user, one is created.
+ * \param userId The user
+ * \return A QVariant containing the session data, e.g. global data and buffers
+ */
+ QVariant initSession(UserId userId);