ClaimsPrincipal.AddIdentities(IEnumerable<ClaimsIdentity>) ClaimsPrincipal.AddIdentities(IEnumerable<ClaimsIdentity>) ClaimsPrincipal.AddIdentities(IEnumerable<ClaimsIdentity>) 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);
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.

Exceptions

Remarks

The identities are added to the Identities collection.

Security

SecurityCriticalAttribute
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

Applies to