Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- xmlWriter
Type: System.Xml.XmlWriter
The XML fragment to be written.
- packageContents
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.PackageContents
Should be PackageContents.Permissions.
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