ClaimsPrincipal Constructor (IEnumerable<ClaimsIdentity>)
.NET Framework (current version)
Initializes a new instance of the ClaimsPrincipal class using the specified claims identities.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- identities
-
Type:
System.Collections.Generic.IEnumerable<ClaimsIdentity>
The identities from which to initialize the new claims principal.
| Exception | Condition |
|---|---|
| ArgumentNullException | identities is null. |
The Identities collection is initialized with the specified identities.
Universal Windows Platform
Available since 10
.NET Framework
Available since 4.5
Available since 10
.NET Framework
Available since 4.5
Show: