: AccessControlledMetadataObject.WriteXmlSecurity (Método) (Microsoft.Office.Server.ApplicationRegistry.Administration)
Writes the XML fragment containing security information.
Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)
Sintaxis
'Declaración
Public Overridable Sub WriteXmlSecurity ( _
xmlWriter As XmlWriter, _
packageContents As PackageContents _
)
'Uso
Dim instance As AccessControlledMetadataObject
Dim xmlWriter As XmlWriter
Dim packageContents As PackageContents
instance.WriteXmlSecurity(xmlWriter, packageContents)
public virtual void WriteXmlSecurity (
XmlWriter xmlWriter,
PackageContents packageContents
)
Parámetros
- xmlWriter
The XML fragment to be written.
- packageContents
Should be PackageContents.Permissions.
Comentarios
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.
Vea también
Referencia
AccessControlledMetadataObject (Clase)
AccessControlledMetadataObject (Miembros)
Microsoft.Office.Server.ApplicationRegistry.Administration (Espacio de nombres)