public LoginQueryResult loginQuery(final long userId) {
        val loginQuery = new LoginQuery();
        loginQuery.setUserid(0);
        loginQuery.setLoginid(userId);
        return ((LoginQueryResponse) getWebServiceTemplate().marshalSendAndReceive(loginQuery)).getLoginQueryReturn();
    }
Login query.

@param userId the user identifier
@return the login query result
support/cas-server-support-inwebo-mfa/src/main/java/org/apereo/cas/support/inwebo/service/InweboConsoleAdmin.java