lib/PassportClient.js
function(userId, offset, limit) {
    return new Promise((resolve, reject) => {
      this._start()
          .uri('/api/report/user-login')
          .urlParameter('userId', userId)
          .urlParameter('offset', offset)
          .urlParameter('limit', limit)
          .get()
          .go(this._responseHandler(resolve, reject));
    });
  }
function(userId, offset, limit) {
    return new Promise((resolve, reject) => {
      this._start()
          .uri('/api/report/user-login')
          .urlParameter('userId', userId)
          .urlParameter('offset', offset)
          .urlParameter('limit', limit)
          .get()
          .go(this._responseHandler(resolve, reject));
    });
  }
function ( userId , offset , limit ) { return new Promise ( ( resolve , reject ) => { this . _start ( ) . uri ( '/api/report/user-login' ) . urlParameter ( 'userId' , userId ) . urlParameter ( 'offset' , offset ) . urlParameter ( 'limit' , limit ) . get ( ) . go ( this . _responseHandler ( resolve , reject ) ) ; } ) ; }
Retrieves the last number of login records for a user.

@param {string} userId The Id of the user.
@param {Object} offset The initial record. e.g. 0 is the last login, 100 will be the 100th most recent login.
@param {string} limit (Optional, defaults to 10) The number of records to retrieve.
@return {Promise} A Promise for the Passport call.
Retrieves the last number of login records for a user .