This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* SAMPLE AJAX CALL to this action: | |
(This is enough since it's automatically redirected to the target tenant's ImpersonateSignIn action) | |
abp.ajax({ | |
url: abp.appPath + 'Account/Impersonate', | |
data: JSON.stringify({ | |
tenantId: 1, //Target tenant id (can be null if target user is a host user) | |
userId: 2 //Target user id | |
}) |