SPUserCollection.ViewSchemaXmlEx property
Gets a schema that describes the default view used to return user information for the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property ViewSchemaXmlEx As String
Get
'Usage
Dim instance As SPUserCollection
Dim value As String
value = instance.ViewSchemaXmlEx
public string ViewSchemaXmlEx { get; }
Property value
Type: System.String
A string in Collaborative Application Markup Language (CAML) schemas that contains the view schema.
Remarks
The ViewSchemaXmlEx property returns a CAML string similar to 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>