Show / Hide Table of Contents

Class IdentityUserDelegationManager

Inheritance
object
DomainService
IdentityUserDelegationManager
Implements
IDomainService
ITransientDependency
Inherited Members
DomainService.LazyServiceProvider
DomainService.ServiceProvider
DomainService.Clock
DomainService.GuidGenerator
DomainService.LoggerFactory
DomainService.CurrentTenant
DomainService.AsyncExecuter
DomainService.Logger
object.GetType()
object.MemberwiseClone()
object.ToString()
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 IdentityUserDelegationManager : DomainService, IDomainService, ITransientDependency

Constructors

IdentityUserDelegationManager(IIdentityUserDelegationRepository)

Declaration
public IdentityUserDelegationManager(IIdentityUserDelegationRepository identityUserDelegationRepository)
Parameters
Type Name Description
IIdentityUserDelegationRepository identityUserDelegationRepository

Properties

IdentityUserDelegationRepository

Declaration
protected IIdentityUserDelegationRepository IdentityUserDelegationRepository { get; }
Property Value
Type Description
IIdentityUserDelegationRepository

Methods

DelegateNewUserAsync(Guid, Guid, DateTime, DateTime, CancellationToken)

Declaration
public virtual Task DelegateNewUserAsync(Guid sourceUserId, Guid targetUserId, DateTime startTime, DateTime endTime, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid sourceUserId
Guid targetUserId
DateTime startTime
DateTime endTime
CancellationToken cancellationToken
Returns
Type Description
Task

DeleteDelegationAsync(Guid, Guid, CancellationToken)

Declaration
public virtual Task DeleteDelegationAsync(Guid id, Guid sourceUserId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid id
Guid sourceUserId
CancellationToken cancellationToken
Returns
Type Description
Task

FindActiveDelegationByIdAsync(Guid, CancellationToken)

Declaration
public virtual Task<IdentityUserDelegation> FindActiveDelegationByIdAsync(Guid id, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid id
CancellationToken cancellationToken
Returns
Type Description
Task<IdentityUserDelegation>

GetActiveDelegationsAsync(Guid, CancellationToken)

Declaration
public virtual Task<List<IdentityUserDelegation>> GetActiveDelegationsAsync(Guid targetUseId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid targetUseId
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityUserDelegation>>

GetListAsync(Guid?, Guid?, CancellationToken)

Declaration
public virtual Task<List<IdentityUserDelegation>> GetListAsync(Guid? sourceUserId = null, Guid? targetUserId = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid? sourceUserId
Guid? targetUserId
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityUserDelegation>>

Implements

IDomainService
ITransientDependency

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