ClaimsIdentity Constructor

.NET Framework (current version)
 

Initializes a new instance of the ClaimsIdentity class.

Namespace:   System.Security.Claims
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodClaimsIdentity()

Initializes a new instance of the ClaimsIdentity class with an empty claims collection.

System_CAPS_pubmethodClaimsIdentity(BinaryReader^)

System_CAPS_protmethodClaimsIdentity(ClaimsIdentity^)

System_CAPS_pubmethodClaimsIdentity(IEnumerable<Claim^>^)

Initializes a new instance of the ClaimsIdentity class using an enumerated collection of Claim objects.

System_CAPS_pubmethodClaimsIdentity(IEnumerable<Claim^>^, String^)

Initializes a new instance of the ClaimsIdentity class with the specified claims and authentication type.

System_CAPS_pubmethodClaimsIdentity(IEnumerable<Claim^>^, String^, String^, String^)

Initializes a new instance of the ClaimsIdentity class with the specified claims, authentication type, name claim type, and role claim type.

System_CAPS_pubmethodClaimsIdentity(IIdentity^)

Initializes a new instance of the ClaimsIdentity class using the name and authentication type from the specified IIdentity.

System_CAPS_pubmethodClaimsIdentity(IIdentity^, IEnumerable<Claim^>^)

Initializes a new instance of the ClaimsIdentity class using the specified claims and the specified IIdentity.

System_CAPS_pubmethodClaimsIdentity(IIdentity^, IEnumerable<Claim^>^, String^, String^, String^)

Initializes a new instance of the ClaimsIdentity class from the specified IIdentity using the specified claims, authentication type, name claim type, and role claim type.

System_CAPS_protmethodClaimsIdentity(SerializationInfo^)

Initializes a new instance of the ClaimsIdentity class from a serialized stream created by using ISerializable.

System_CAPS_protmethodClaimsIdentity(SerializationInfo^, StreamingContext)

Initializes a new instance of the ClaimsIdentity class from a serialized stream created by using ISerializable.

System_CAPS_pubmethodClaimsIdentity(String^)

Initializes a new instance of the ClaimsIdentity class with an empty claims collection and the specified authentication type.

System_CAPS_pubmethodClaimsIdentity(String^, String^, String^)

Initializes a new instance of the ClaimsIdentity class with the specified authentication type, name claim type, and role claim type.

Return to top
Show: