Class IdentityUserRole
Represents the link between a user and a role.
Inheritance
System.Object
IdentityUserRole
Assembly: Volo.Abp.Identity.Domain.dll
Syntax
public class IdentityUserRole : Entity, IEntity, IMultiTenant
Constructors
IdentityUserRole()
Declaration
protected IdentityUserRole()
IdentityUserRole(Guid, Guid, Nullable<Guid>)
Declaration
protected IdentityUserRole(Guid userId, Guid roleId, Guid? tenantId)
Parameters
Type |
Name |
Description |
Guid |
userId |
|
Guid |
roleId |
|
System.Nullable<Guid> |
tenantId |
|
Properties
RoleId
Gets or sets the primary key of the role that is linked to the user.
Declaration
public virtual Guid RoleId { get; protected set; }
Property Value
TenantId
Declaration
public virtual Guid? TenantId { get; protected set; }
Property Value
Type |
Description |
System.Nullable<Guid> |
|
UserId
Gets or sets the primary key of the user that is linked to a role.
Declaration
public virtual Guid UserId { get; protected set; }
Property Value
Methods
GetKeys()
Declaration
public override object[] GetKeys()
Returns
Type |
Description |
System.Object[] |
|
Overrides
Implements
IMultiTenant
Extension Methods