Compartilhar via


ViewSchemaXmlEx Property

The ViewSchemaXmlEx property of the SPUserCollection class gets a schema that describes the default view used to return user information for the collection.

Property Value

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

Remarks

The ViewSchemaXmlEx property returns a CAML string like the following:

<View Name="userInfo" DefaultView="TRUE" Type="HTML" DisplayName="All Items" Url="" BaseViewID="1">
   <Query>
   </Query>
   <ViewFields>
      <FieldRef Name="ID" />
      <FieldRef Name="Title" />
      <FieldRef Name="Identifier" />
      <FieldRef Name="Email" />
   </ViewFields>
</View>

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security