Partager via


SPPolicyRoleCollection.Xml - Propriété

Obtient une représentation XML de la collection de rôles de stratégie.

Espace de noms :  Microsoft.SharePoint.Administration
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Xml As String
    Get
'Utilisation
Dim instance As SPPolicyRoleCollection
Dim value As String

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

Valeur de propriété

Type : System.String
Chaîne qui contient la représentation XML de la collection de rôle politique, telle que la suivante :

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

Voir aussi

Référence

SPPolicyRoleCollection classe

SPPolicyRoleCollection - Membres

Microsoft.SharePoint.Administration - Espace de noms