Class DelegatedImpersonateModel
Inheritance
DelegatedImpersonateModel
Inherited Members
Namespace: Volo.Abp.Account.Public.Web.Pages.Account
Assembly: Volo.Abp.Account.Pro.Public.Web.dll
Syntax
[Authorize]
[IgnoreAntiforgeryToken]
public class DelegatedImpersonateModel : AccountPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
DelegatedImpersonateModel(ICurrentPrincipalAccessor, IdentityUserDelegationManager)
Declaration
public DelegatedImpersonateModel(ICurrentPrincipalAccessor currentPrincipalAccessor, IdentityUserDelegationManager identityUserDelegationManager)
Parameters
Type | Name | Description |
---|---|---|
ICurrentPrincipalAccessor | currentPrincipalAccessor | |
IdentityUserDelegationManager | identityUserDelegationManager |
Properties
CurrentPrincipalAccessor
Declaration
protected ICurrentPrincipalAccessor CurrentPrincipalAccessor { get; }
Property Value
Type | Description |
---|---|
ICurrentPrincipalAccessor |
IdentityUserDelegationManager
Declaration
protected IdentityUserDelegationManager IdentityUserDelegationManager { get; }
Property Value
Type | Description |
---|---|
IdentityUserDelegationManager |
UserDelegationId
Declaration
[BindProperty(SupportsGet = true)]
[Required]
public Guid UserDelegationId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Methods
OnGetAsync()
Declaration
public virtual Task<IActionResult> OnGetAsync()
Returns
Type | Description |
---|---|
Task<IActionResult> |
OnPostAsync()
Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
Type | Description |
---|---|
Task<IActionResult> |