SPPermissionCollection.Xml2 property

NOTE: This API is now obsolete.

Gets the collection of permissions in XML format.

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

Syntax

'Declaration
<ObsoleteAttribute("Use the SPRoleAssignmentCollection class instead")> _
Public ReadOnly Property Xml2 As String
    Get
'Usage
Dim instance As SPPermissionCollection
Dim value As String

value = instance.Xml2
[ObsoleteAttribute("Use the SPRoleAssignmentCollection class instead")]
public string Xml2 { get; }

Property value

Type: System.String
A string that contains the XML representation of the collection.

See also

Reference

SPPermissionCollection class

SPPermissionCollection members

Microsoft.SharePoint namespace