Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Method parameters

Returns the identifier of the user who performed a Login.

  • string GetIdUser(string accessKey)
    • accessKey: access key obtained using the Login method

If error code=0, the message will contain the user ID.

Sample GetIdUser response

<GetIdUserResult>
<errorCode>0</errorCode>
<errorDescription></errorDescription>
<IdUsers>
<IdUser>1</IdUser >
</ IdUsers >
</GetIdUserResult > 

Code Examples

Ruby
# Refer to https://mailup.atlassian.net/wiki/display/mailupapi/MailUp+RubyGem for gem information.
require 'mailup'
m = MailUp::Manage.new('api-username', 'api-password')
m.get_id_user
# Returns XML response
# => "<GetIdUserResult><errorCode>0</errorCode><errorDescription></errorDescription><IdUsers> ... </IdUsers></GetIdUserResult>"



  • No labels