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.
The ToXml method of the WebPartPermission class creates an XML encoding of the permission object and its current state.
Return Value
System.Security.SecurityElement An XML encoding of the permission object, including any state information.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security