Class IdentityUserRole<TKey>
EntityType that represents a user belonging to a role
Inheritance
System.Object
Namespace: Umbraco.Core.Models.Identity
Assembly: Umbraco.Core.dll
Syntax
public class IdentityUserRole<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 SourceRoleId
RoleId for the role
Declaration
public virtual TKey RoleId { get; set; }
Property Value
Type | Description |
---|---|
TKey |
UserId
UserId for the user that is in the role
Declaration
public virtual TKey UserId { get; set; }
Property Value
Type | Description |
---|---|
TKey |