Class IdentityUserClaim<TKey>
EntityType that represents one specific user claim
Inheritance
System.Object
Namespace: Umbraco.Core.Models.Identity
Assembly: Umbraco.Core.dll
Syntax
public class IdentityUserClaim<TKey>
Type Parameters
Name | Description |
---|---|
TKey |
Remarks
This class normally exists inside of the EntityFramework library, not sure why MS chose to explicitly put it there but we don't want references to that so we will create our own here
Properties
View SourceClaimType
Claim type
Declaration
public virtual string ClaimType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClaimValue
Claim value
Declaration
public virtual string ClaimValue { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Primary key
Declaration
public virtual int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
UserId
User Id for the user who owns this login
Declaration
public virtual TKey UserId { get; set; }
Property Value
Type | Description |
---|---|
TKey |