Share via


SPPolicyRole.Xml Property

Gets an XML representation of the policy role.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property Xml As String
    Get
'Usage
Dim instance As SPPolicyRole
Dim value As String

value = instance.Xml
public string Xml { get; }

Property Value

Type: System.String
A string that contains an XML representation of the policy role, such as the following:

<PolicyRole Name="Full Read" Description="Has full read-only access." DenyRightsMask="EmptyMask" GrantRightsMask="ViewListItems, OpenItems, ViewVersions, ViewFormPages, Open, ViewPages, ViewUsageData, BrowseDirectories, BrowseUserInfo, UseClientIntegration, UseRemoteAPIs, EnumeratePermissions" />

See Also

Reference

SPPolicyRole Class

SPPolicyRole Members

Microsoft.SharePoint.Administration Namespace