Published — v. 16

WS_MailUpSend.GetIdUser

 

Returns the identifier of the user who performed a Login. This method should be used when authentication is done using a MailUp console user (i.e. not with special "web service user" named 'a'+ consoleId)

Method parameters

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

If error code=0, the message will contain the user ID, which is required by GetListsUser method.

 

SOAP Examples

SOAP request
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ws="http://services.mailupnet.it/WS">
    <soap:Header/>
    <soap:Body>
       <ws:GetIdUser>
         <ws:accessKey>HzAgwRRJaAKBtkgNWpkAuURfV4SxMm6T3HJegRuSkUivKJElNNcmSQe8nqGyoM9S8EyQZb6ZE2shjHWIN4f5xYBJx9</ws:accessKey>
       </ws:GetIdUser>
    </soap:Body>
</soap:Envelope>
SOAP Response
<GetIdUserResult>
<errorCode>0</errorCode>
<errorDescription></errorDescription>
<IdUsers>
<IdUser>1234</ IdUser >
</ IdUsers >
</ GetIdUserResult >