Share via


SPPermissionCollection.Xml 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 Xml As String
    Get
'Usage
Dim instance As SPPermissionCollection
Dim value As String

value = instance.Xml
[ObsoleteAttribute("Use the SPRoleAssignmentCollection class instead")]
public string Xml { 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