IdentityUserClaim<TKey> Class
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.
Represents a claim that a user possesses.
generic <typename TKey>
where TKey : IEquatable<TKey>public ref class IdentityUserClaim
public class IdentityUserClaim<TKey> where TKey : IEquatable<TKey>
type IdentityUserClaim<'Key (requires 'Key :> IEquatable<'Key>)> = class
Public Class IdentityUserClaim(Of TKey)
Type Parameters
- TKey
The type used for the primary key for this user that possesses this claim.
- Inheritance
-
IdentityUserClaim<TKey>
Constructors
IdentityUserClaim<TKey>() |
Properties
ClaimType |
Gets or sets the claim type for this claim. |
ClaimValue |
Gets or sets the claim value for this claim. |
Id |
Gets or sets the identifier for this user claim. |
UserId |
Gets or sets the primary key of the user associated with this claim. |
Methods
InitializeFromClaim(Claim) |
Reads the type and value from the Claim. |
ToClaim() |
Converts the entity into a Claim instance. |