Class ImpersonateUserModel
Inheritance
ImpersonateUserModel
Assembly: Volo.Abp.Account.Pro.Public.Web.dll
Syntax
[Authorize]
[IgnoreAntiforgeryToken]
public class ImpersonateUserModel : AccountPageModel
Constructors
ImpersonateUserModel(IOptions<AbpAccountOptions>, IPermissionChecker, ICurrentPrincipalAccessor, ITenantStore)
Declaration
public ImpersonateUserModel(IOptions<AbpAccountOptions> accountOptions, IPermissionChecker permissionChecker, ICurrentPrincipalAccessor currentPrincipalAccessor, ITenantStore tenantStore)
Parameters
Type |
Name |
Description |
IOptions<AbpAccountOptions> |
accountOptions |
|
IPermissionChecker |
permissionChecker |
|
ICurrentPrincipalAccessor |
currentPrincipalAccessor |
|
ITenantStore |
tenantStore |
|
Properties
AccountOptions
Declaration
protected AbpAccountOptions AccountOptions { get; }
Property Value
CurrentPrincipalAccessor
Declaration
protected ICurrentPrincipalAccessor CurrentPrincipalAccessor { get; }
Property Value
Type |
Description |
ICurrentPrincipalAccessor |
|
PermissionChecker
Declaration
protected IPermissionChecker PermissionChecker { get; }
Property Value
Type |
Description |
IPermissionChecker |
|
TenantStore
Declaration
protected ITenantStore TenantStore { get; }
Property Value
Type |
Description |
ITenantStore |
|
UserId
Declaration
[BindProperty(SupportsGet = true)]
[Required]
public Guid UserId { get; set; }
Property Value
Methods
OnGetAsync()
Declaration
public virtual Task<IActionResult> OnGetAsync()
Returns
OnPostAsync()
Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns