ClaimsPrincipal.Identities Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a collection that contains all of the claims identities associated with this claims principal.

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

public virtual IEnumerable<ClaimsIdentity> Identities { get; }

Property Value

Type: System.Collections.Generic.IEnumerable<ClaimsIdentity>

The collection of claims identities.

In the common case, the collection contains only a single element.

It is possible for the collection to contain some elements which are null.

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