Class OrganizationUnitRole
Represents membership of a User to an OU.
Inherited Members
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
Implements
IMultiTenant