SPPolicyRoleCollection.Xml 属性

获取策略的角色集的 XML 表示形式。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Property Xml As String
    Get
用法
Dim instance As SPPolicyRoleCollection
Dim value As String

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

属性值

类型:System.String
一个字符串,包含的 XML 表示形式策略角色集合,如下所示:

<PolicyRoleCollection>
  <PolicyRole Name="Full Control" Description="Has full control." DenyRightsMask="EmptyMask" GrantRightsMask="FullMask" />
  <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" />
  <PolicyRole Name="Deny Write" Description="Has no write access." DenyRightsMask="4611685812065333150" GrantRightsMask="EmptyMask" />
  <PolicyRole Name="Deny All" Description="Has no access." DenyRightsMask="FullMask" GrantRightsMask="EmptyMask" /> </PolicyRoleCollection>

另请参阅

引用

SPPolicyRoleCollection 类

SPPolicyRoleCollection 成员

Microsoft.SharePoint.Administration 命名空间