संपादित करें

इसके माध्यम से साझा किया गया


ClaimsPrincipal.AddIdentities(IEnumerable<ClaimsIdentity>) Method

Definition

Adds the specified claims identities to this claims principal.

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))

Parameters

identities
IEnumerable<ClaimsIdentity>

The claims identities to add.

Attributes

Exceptions

identities is null.

Remarks

The identities are added to the Identities collection.

Applies to