ClaimsPrincipalPermission.ToXml Method ()

.NET Framework (current version)
 

Returns the XML encoded form of the current permission and its state.

Namespace:   System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

public SecurityElement ToXml()

Return Value

Type: System.Security.SecurityElement

The XML encoded form of the current permission and its state.

The principal can be reconstructed from its XML encoded form by calling the FromXml method.

.NET Framework
Available since 4.5
Return to top
Show: