ClaimsPrincipal.AddIdentities Method (IEnumerable(Of ClaimsIdentity))
.NET Framework (current version)
Adds the specified claims identities to this claims principal.
Assembly: mscorlib (in mscorlib.dll)
<SecurityCriticalAttribute> Public Overridable Sub AddIdentities ( identities As IEnumerable(Of ClaimsIdentity) )
Parameters
- identities
-
Type:
System.Collections.Generic.IEnumerable(Of ClaimsIdentity)
The claims identities to add.
| Exception | Condition |
|---|---|
| ArgumentNullException | identities is null. |
The identities are added to the Identities collection.
SecurityCriticalAttribute
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Universal Windows Platform
Available since 10
.NET Framework
Available since 4.5
Available since 10
.NET Framework
Available since 4.5
Show: