ClaimsPrincipal::Identities Property

.NET Framework (current version)
 

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:
property IEnumerable<ClaimsIdentity^>^ Identities {
	virtual IEnumerable<ClaimsIdentity^>^ 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
Show: