Page tree
Skip to end of metadata
Go to start of metadata


GetIdWsUser(string userName)

Returns a message containing the user ID in the MailUp console.

Sample GetIdWsUser response


Error codes

Error codeDescription
0request execution succeeded
-200unrecognized error

Ruby Example

# Refer to for gem information.
require 'mailup'
m ='username', 'password', 'console_url')
m.get_id_user(:userName => 'username')
# => <?xml version=\"1.0\" encoding=\"windows-1252\" ?><mailupMessage><mailupBody><ReturnCode>0</ReturnCode><IdUsers><IdUser>123456</IdUser></IdUsers></mailupBody></mailupMessage>



  • No labels