SecurityTokenElement.GetIdentities Method

Definition

Gets the identities that are contained in the wrapped token.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<System::Security::Claims::ClaimsIdentity ^> ^ GetIdentities();
public System.Collections.ObjectModel.ReadOnlyCollection<System.Security.Claims.ClaimsIdentity> GetIdentities ();
member this.GetIdentities : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.Security.Claims.ClaimsIdentity>
Public Function GetIdentities () As ReadOnlyCollection(Of ClaimsIdentity)

Returns

The identities that are contained in the token.

Applies to