Partilhar via


SPUserCollection.XmlEx Property

Gets the collection in XMLDATA format.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property XmlEx As String
    Get
'Usage
Dim instance As SPUserCollection
Dim value As String

value = instance.XmlEx
public string XmlEx { get; }

Property Value

Type: System.String
A string that contains the collection in XMLDATA format.

Remarks

The XMLDATA format specifies XML data type information that can be used where data types are necessary (for example, in handling numeric expressions). Otherwise, everything in an XML document is a text string.

The XmlEx property returns an XML string similar to the following.

<xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" 
   xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" 
   xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" 
      >
   <rs:data>
      <z:row ows_ID="3" ows_Title="User1_Display_Name" 
         ows_Name="User_Name_1" 
         ows_Email="User1_E-mail" />
      <z:row ows_ID="1" ows_Title="User2_Display_Name" 
         ows_Name="User_Name_2" 
         ows_Email="User2_E-mail" />
      <z:row ows_ID="5" ows_Title="User3_Display_Name" 
         ows_Name="User_Name_3" 
         ows_Email="User3_E-mail" />
   </rs:data>
</xml>

See Also

Reference

SPUserCollection Class

SPUserCollection Members

Microsoft.SharePoint Namespace