Returns all the lists that can be viewed by a specific user

Method parameters

  • string GetListsUser(string accessKey, int idUser)
    • accessKey: access key obtained using the LoginFromId method
    • idUser: ID of the user

If error code=0, the message will contain the IDs of the lists the user has access to.

SOAP Examples

SOAP Response
<listName>Lista nr.1</listName>
<listName>Lista nr.2</listName>

Code Examples

# Refer to for gem information.
require 'mailup'
m ='api-username', 'api-password')
m.get_lists_user(:idUser => 132456)
# Returns XML response
# => "<GetListsUserResult><errorCode>0</errorCode><errorDescription></errorDescription><lists><list> ... </list></lists></GetListsUserResult>"