4.2 GetUserInfo
When the client wants to retrieve user information of an authenticated user in the protocol server, the request would resemble the following code:
-
<?xml version="1.0" encoding="utf-8"?> <xmsUser client="Microsoft Office Outlook 12.0" xmlns = "http://schemas.microsoft.com/office/Outlook/2006/OMS"> <userId>myname</userId> <password>mypwd</password> <customData/> </xmsUser>
The following code is returned from the protocol server after a successful call:
-
<?xml version="1.0" encoding="utf-8"?> <userInfo xmlns = "http://schemas.microsoft.com/office/Outlook/2006/OMS"> <replyPhone>090123456</replyPhone> <smtpAddress>userid.spmail@spdomain.com</smtpAddress> <error code="ok"/> </userInfo>
The following code is returned from the protocol server after an error:
-
<?xml version="1.0" encoding="utf-8"?> <userInfo xmlns = "http://schemas.microsoft.com/office/Outlook/2006/OMS"> <error code="unregistered" severity="failure"/> </userInfo>