XmlEx Property
The XmlEx property of the SPUserCollection class gets the collection in XMLDATA format.
Property Value
A string that contains the collection in XMLDATA format.
Note 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 textual string.
Remarks
The XmlEx property returns an XML string like 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>
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security