Clone Method (ClaimsIdentity)
Collapse the table of content
Expand the table of content

Claim.Clone Method (ClaimsIdentity)

.NET Framework (current version)

Returns a new Claim object copied from this object. The subject of the new claim is set to the specified ClaimsIdentity.

Namespace:   System.Security.Claims
Assembly:  mscorlib (in mscorlib.dll)

public virtual Claim Clone(
	ClaimsIdentity identity


Type: System.Security.Claims.ClaimsIdentity

The intended subject of the new claim.

Return Value

Type: System.Security.Claims.Claim

The new claim object.

This is a shallow copy operation. The Subject property of the new Claim object is set to the value of the identity parameter.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.5
Return to top
© 2016 Microsoft