GetUserInfo method
Collapse the table of content
Expand the table of content

SPMobileMessageWebService.GetUserInfo method

Gets the Office Mobile Service (OMS) messaging Web service’s information about the user.

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

public SPMobileMessageUserInfo GetUserInfo(
	string requestXml
)

Parameters

requestXml
Type: System.String

An xmsUser element that identifies the user about whom information is requested.

Return value

Type: Microsoft.SharePoint.MobileMessage.SPMobileMessageUserInfo
An object that contains information about the user.

GetUserInfo(String) creates a proxy for the Web service and invokes the OMS-defined GetUserInfo Web method.

The following is an example of an xmsUser element that is passed to the method.

<?xml version="1.0" encoding="utf-8"?>
<xmsUser client="Microsoft Office Outlook 12.0" xmlns = "http://schemas.microsoft.com/office/Outlook/2006/OMS">
   <userId>Bob</userId>
   <password>*Hy%,eG</password>
   <customData/>
</xmsUser>

Show:
© 2016 Microsoft