Show / Hide Table of Contents

Class IdentityUserRole

Represents the link between a user and a role.

Inheritance
System.Object
Entity
IdentityUserRole
Implements
IEntity
IMultiTenant
Inherited Members
Entity.ToString()
Entity.EntityEquals(IEntity)
Namespace: Volo.Abp.Identity
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
Type Description
Guid

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
Type Description
Guid

Methods

GetKeys()

Declaration
public override object[] GetKeys()
Returns
Type Description
System.Object[]
Overrides
Entity.GetKeys()

Implements

IEntity
IMultiTenant

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft