Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Function GetUserInfo ( _
requestXml As String _
) As SPMobileMessageUserInfo
'Usage
Dim instance As SPMobileMessageWebService
Dim requestXml As String
Dim returnValue As SPMobileMessageUserInfo
returnValue = instance.GetUserInfo(requestXml)
public SPMobileMessageUserInfo GetUserInfo(
string requestXml
)
Parameters
requestXml
Type: System.StringAn 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.
Remarks
GetUserInfo(String) creates a proxy for the Web service and invokes the OMS-defined GetUserInfo Web method.
Examples
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 = "https://schemas.microsoft.com/office/Outlook/2006/OMS">
<userId>Bob</userId>
<password>*Hy%,eG</password>
<customData/>
</xmsUser>
See Also
Reference
SPMobileMessageWebService Class