SchemaXmlEx Property

The SchemaXmlEx property of the SPUserCollection class gets a list schema that specifies fields used to define the collection.

Property Value

A string in Collaborative Application Markup Language (CAML) that contains the list schema.

Remarks

The SchemaXmlEx property returns a CAML string like the following:

<List ID="{900BA96F-F422-4B35-85BB-0140A015D6F4}" Title="UserInfo"
   Name="{900BA96F-F422-4B35-85BB-0140A015D6F4}" Description="">
   <Fields>
      <Field ColName="tp_ID" DisplayName="ID" Type="Counter" Name="ID"
         PrimaryKey="TRUE" ReadOnly="TRUE" /><Field ColName="tp_Title" DisplayName="Full Name"
         Type="Text" Name="Title" Required="FALSE" />
      <Field ColName="tp_Identifier" DisplayName="Login Name" Type="Text" Name="Name" Required="TRUE" />
      <Field ColName="tp_Email" DisplayName="E-mail Address" Type="Text" Name="Email" Required="FALSE" />
      </Fields>
      <RegionalSettings>
         <Locale>1033</Locale>
      </RegionalSettings>
</List>

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security