ClaimsPrincipal.AddIdentities(IEnumerable<ClaimsIdentity>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.