Share via


AccessControlledMetadataObject.WriteXmlSecurity Method

Writes the XML fragment containing security information.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Overridable Sub WriteXmlSecurity ( _
    xmlWriter As XmlWriter, _
    packageContents As PackageContents _
)
'Usage
Dim instance As AccessControlledMetadataObject
Dim xmlWriter As XmlWriter
Dim packageContents As PackageContents

instance.WriteXmlSecurity(xmlWriter, _
    packageContents)
public virtual void WriteXmlSecurity(
    XmlWriter xmlWriter,
    PackageContents packageContents
)

Parameters

Remarks

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.

See Also

Reference

AccessControlledMetadataObject Class

AccessControlledMetadataObject Members

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace