Share via


SPPermission.Xml property

NOTE: This API is now obsolete.

Gets the permission object in XML format.

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

Syntax

'Declaration
<ObsoleteAttribute("Use the SPRoleAssignment class instead")> _
Public ReadOnly Property Xml As String
    Get
'Usage
Dim instance As SPPermission
Dim value As String

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

Property value

Type: System.String
A string that contains the XML.

See also

Reference

SPPermission class

SPPermission members

Microsoft.SharePoint namespace