Show / Hide Table of Contents

Class OrganizationUnitRole

Represents membership of a User to an OU.

Inheritance
System.Object
Entity
CreationAuditedEntity
OrganizationUnitRole
Implements
IEntity
ICreationAuditedObject
IMultiTenant
Inherited Members
CreationAuditedEntity.CreationTime
CreationAuditedEntity.CreatorId
Entity.ToString()
Entity.EntityEquals(IEntity)
Namespace: Volo.Abp.Identity
Assembly: Volo.Abp.Identity.Domain.dll
Syntax
public class OrganizationUnitRole : CreationAuditedEntity, IEntity, ICreationAuditedObject, IMultiTenant

Constructors

OrganizationUnitRole()

Initializes a new instance of the OrganizationUnitRole class.

Declaration
protected OrganizationUnitRole()

OrganizationUnitRole(Guid, Guid, Nullable<Guid>)

Initializes a new instance of the OrganizationUnitRole class.

Declaration
public OrganizationUnitRole(Guid roleId, Guid organizationUnitId, Guid? tenantId = null)
Parameters
Type Name Description
Guid roleId

Id of the User.

Guid organizationUnitId

Id of the OrganizationUnit.

System.Nullable<Guid> tenantId

TenantId

Properties

OrganizationUnitId

Id of the OrganizationUnit.

Declaration
public virtual Guid OrganizationUnitId { get; protected set; }
Property Value
Type Description
Guid

RoleId

Id of the Role.

Declaration
public virtual Guid RoleId { get; protected set; }
Property Value
Type Description
Guid

TenantId

TenantId of this entity.

Declaration
public virtual Guid? TenantId { get; protected set; }
Property Value
Type Description
System.Nullable<Guid>

Methods

GetKeys()

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

Implements

IEntity
ICreationAuditedObject
IMultiTenant

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, 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