Class ImpersonateTenantModel
Inheritance
ImpersonateTenantModel
Assembly: Volo.Abp.Account.Pro.Public.Web.dll
Syntax
[Authorize]
[IgnoreAntiforgeryToken]
public class ImpersonateTenantModel : AccountPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
ImpersonateTenantModel(IOptions<AbpAccountOptions>, IPermissionChecker, ICurrentPrincipalAccessor)
Declaration
public ImpersonateTenantModel(IOptions<AbpAccountOptions> accountOptions, IPermissionChecker permissionChecker, ICurrentPrincipalAccessor currentPrincipalAccessor)
Parameters
Properties
AccountOptions
Declaration
protected AbpAccountOptions AccountOptions { get; }
Property Value
CurrentPrincipalAccessor
Declaration
protected ICurrentPrincipalAccessor CurrentPrincipalAccessor { get; }
Property Value
PermissionChecker
Declaration
protected IPermissionChecker PermissionChecker { get; }
Property Value
ReturnUrl
Declaration
[HiddenInput]
[BindProperty(SupportsGet = true)]
public string ReturnUrl { get; set; }
Property Value
TenantId
Declaration
[BindProperty(SupportsGet = true)]
[Required]
public Guid TenantId { get; set; }
Property Value
TenantUserName
Declaration
[BindProperty(SupportsGet = true)]
public string TenantUserName { get; set; }
Property Value
Methods
OnGetAsync()
Declaration
public virtual Task<IActionResult> OnGetAsync()
Returns
OnPostAsync()
Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
Implements
Extension Methods