AccessControlledMetadataObject.WriteXmlSecurity, méthode (Microsoft.Office.Server.ApplicationRegistry.Administration)
Writes the XML fragment containing security information.
Espace de noms : Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
Public Overridable Sub WriteXmlSecurity ( _
xmlWriter As XmlWriter, _
packageContents As PackageContents _
)
'Utilisation
Dim instance As AccessControlledMetadataObject
Dim xmlWriter As XmlWriter
Dim packageContents As PackageContents
instance.WriteXmlSecurity(xmlWriter, packageContents)
public virtual void WriteXmlSecurity (
XmlWriter xmlWriter,
PackageContents packageContents
)
Paramètres
- xmlWriter
The XML fragment to be written.
- packageContents
Should be PackageContents.Permissions.
Remarques
This method is typically called during export of the metadata definition or when dumping the contents of a single metadata object as XML. The security information (ACEs + rights) is written only if the PackageContents variable has the PackageContents.Permissions flag set.
Voir aussi
Référence
AccessControlledMetadataObject, classe
Membres AccessControlledMetadataObject
Microsoft.Office.Server.ApplicationRegistry.Administration, espace de noms