SPMobileMessageUserInfo Class

Represents a userInfo response from a Web service that uses the Office Mobile Service (OMS) protocol.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.MobileMessage.SPMobileMessageServiceResponse
    Microsoft.SharePoint.MobileMessage.SPMobileMessageUserInfo

Namespace:  Microsoft.SharePoint.MobileMessage
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Class SPMobileMessageUserInfo _
    Inherits SPMobileMessageServiceResponse
'Usage
Dim instance As SPMobileMessageUserInfo
public class SPMobileMessageUserInfo : SPMobileMessageServiceResponse

Remarks

A userInfo response is sent by the Web service in response to a call of its GetUserInfo method.

This class also provides a static method for creating the parameter that is passed to the GetUserInfo method.

For more information about OMS, see the series of articles beginning with Outlook 2007 Mobile Service Guidelines (Part 1 of 3).

Examples

The following is an example of a userInfo response.

<?xml version="1.0" encoding="utf-8"?>
<userInfo xmlns = "https://schemas.microsoft.com/office/Outlook/2006/OMS">
   <replyPhone>090123456</replyPhone>
      <smtpAddress>userid.spmail@spdomain.com</smtpAddress> 
   <error code="ok"/>
</userInfo>

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPMobileMessageUserInfo Members

Microsoft.SharePoint.MobileMessage Namespace