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)
Available in Sandboxed Solutions: No

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