共用方式為


SPPolicyRole.Xml property

取得原則角色之 XML 形式。

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

Syntax

'宣告
Public ReadOnly Property Xml As String
    Get
'用途
Dim instance As SPPolicyRole
Dim value As String

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

Property value

Type: System.String
包含原則角色,如下所示的 XML 形式的字串:

<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" />

請參閱

參照

SPPolicyRole class

SPPolicyRole members

Microsoft.SharePoint.Administration namespace