Show / Hide Table of Contents

Class IdentityRole

Inheritance
object
Entity
Entity<Guid>
BasicAggregateRoot<Guid>
AggregateRoot<Guid>
IdentityRole
Implements
IAggregateRoot<Guid>
IEntity<Guid>
IAggregateRoot
IEntity
IGeneratesDomainEvents
IHasExtraProperties
IHasConcurrencyStamp
IMultiTenant
IHasEntityVersion
Inherited Members
AggregateRoot<Guid>.Validate(ValidationContext)
AggregateRoot<Guid>.ExtraProperties
AggregateRoot<Guid>.ConcurrencyStamp
BasicAggregateRoot<Guid>.GetLocalEvents()
BasicAggregateRoot<Guid>.GetDistributedEvents()
BasicAggregateRoot<Guid>.ClearLocalEvents()
BasicAggregateRoot<Guid>.ClearDistributedEvents()
BasicAggregateRoot<Guid>.AddLocalEvent(object)
BasicAggregateRoot<Guid>.AddDistributedEvent(object)
Entity<Guid>.GetKeys()
Entity<Guid>.Id
Entity.EntityEquals(IEntity)
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Identity
Assembly: Volo.Abp.Identity.Domain.dll
Syntax
public class IdentityRole : AggregateRoot<Guid>, IAggregateRoot<Guid>, IEntity<Guid>, IAggregateRoot, IEntity, IGeneratesDomainEvents, IHasExtraProperties, IHasConcurrencyStamp, IMultiTenant, IHasEntityVersion

Constructors

IdentityRole()

Declaration
protected IdentityRole()

IdentityRole(Guid, string, Guid?)

Declaration
public IdentityRole(Guid id, string name, Guid? tenantId = null)
Parameters
Type Name Description
Guid id
string name
Guid? tenantId

Properties

Claims

Declaration
public virtual ICollection<IdentityRoleClaim> Claims { get; protected set; }
Property Value
Type Description
ICollection<IdentityRoleClaim>

EntityVersion

Declaration
public virtual int EntityVersion { get; protected set; }
Property Value
Type Description
int

IsDefault

Declaration
public virtual bool IsDefault { get; set; }
Property Value
Type Description
bool

IsPublic

Declaration
public virtual bool IsPublic { get; set; }
Property Value
Type Description
bool

IsStatic

Declaration
public virtual bool IsStatic { get; set; }
Property Value
Type Description
bool

Name

Declaration
public virtual string Name { get; protected set; }
Property Value
Type Description
string

NormalizedName

Declaration
[DisableAuditing]
public virtual string NormalizedName { get; protected set; }
Property Value
Type Description
string

TenantId

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

Methods

AddClaim(IGuidGenerator, Claim)

Declaration
public virtual void AddClaim(IGuidGenerator guidGenerator, Claim claim)
Parameters
Type Name Description
IGuidGenerator guidGenerator
Claim claim

AddClaims(IGuidGenerator, IEnumerable<Claim>)

Declaration
public virtual void AddClaims(IGuidGenerator guidGenerator, IEnumerable<Claim> claims)
Parameters
Type Name Description
IGuidGenerator guidGenerator
IEnumerable<Claim> claims

ChangeName(string)

Declaration
public virtual void ChangeName(string name)
Parameters
Type Name Description
string name

FindClaim(Claim)

Declaration
public virtual IdentityRoleClaim FindClaim(Claim claim)
Parameters
Type Name Description
Claim claim
Returns
Type Description
IdentityRoleClaim

RemoveClaim(Claim)

Declaration
public virtual void RemoveClaim(Claim claim)
Parameters
Type Name Description
Claim claim

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
Volo.Abp.Domain.Entities.Entity<System.Guid>.ToString()

Implements

IAggregateRoot<TKey>
IEntity<TKey>
IAggregateRoot
IEntity
IGeneratesDomainEvents
IHasExtraProperties
IHasConcurrencyStamp
IMultiTenant
IHasEntityVersion

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform