Method: Mailchimp::Users#logins

Defined in:
lib/mailchimp/api.rb

#loginsArray

Retrieve the list of active logins.

Returns:

  • (Array)

    structs for each user, including:

    • Int

      id the login id for this login

    • String

      username the username used to log in

    • String

      name a display name for the account - empty first/last names will return the username

    • String

      email the email tied to the account used for passwords resets and the ilk

    • String

      role the role assigned to the account

    • String

      avatar if available, the url for the login’s avatar



228
229
230
231
# File 'lib/mailchimp/api.rb', line 228

def logins()
    _params = {}
    return @master.call 'users/logins', _params
end