Share via


ToXml Method

The ToXml method of the SharePointPermission 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