Share via


SPGroup.Xml property

Gets the properties of the group as an XML string.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property Xml As String
    Get
'Usage
Dim instance As SPGroup
Dim value As String

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

Property value

Type: System.String
A string that contains the XML, as follows:

<Group ID="4" Name="Team Site Visitors" Description=
    "Use this group to give people read permissions
    to the SharePoint site: Team Site" OwnerID="3" 
    OwnerIsUser="False" />

See also

Reference

SPGroup class

SPGroup members

Microsoft.SharePoint namespace