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)

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