Sdílet prostřednictvím


ClaimsPrincipal.AddIdentities(IEnumerable<ClaimsIdentity>) Metoda

Definice

Přidá zadané identity deklarací identity do tohoto objektu deklarací identity.

public:
 virtual void AddIdentities(System::Collections::Generic::IEnumerable<System::Security::Claims::ClaimsIdentity ^> ^ identities);
[System.Security.SecurityCritical]
public virtual void AddIdentities (System.Collections.Generic.IEnumerable<System.Security.Claims.ClaimsIdentity> identities);
public virtual void AddIdentities (System.Collections.Generic.IEnumerable<System.Security.Claims.ClaimsIdentity> identities);
[<System.Security.SecurityCritical>]
abstract member AddIdentities : seq<System.Security.Claims.ClaimsIdentity> -> unit
override this.AddIdentities : seq<System.Security.Claims.ClaimsIdentity> -> unit
abstract member AddIdentities : seq<System.Security.Claims.ClaimsIdentity> -> unit
override this.AddIdentities : seq<System.Security.Claims.ClaimsIdentity> -> unit
Public Overridable Sub AddIdentities (identities As IEnumerable(Of ClaimsIdentity))

Parametry

identities
IEnumerable<ClaimsIdentity>

Identity deklarací identity, které chcete přidat.

Atributy

Výjimky

identities je null.

Poznámky

Identity se přidají do Identities kolekce.

Platí pro