Base solution for your next web application
Open Closed

Import from excel #7225


User avatar
0
datascan created

I noticed that all the users that are imported by excel import do not have CreatorUserId populated in Database. This feature is coded in ImportUsersToExcelJob class. CreateUserAsync method did not set CreatorUserId for new user. What's the best way to access userId of user who imported excel file insided of ImportUsersToExcelJob class? AbpSession do not work and throw the following error: Abp.Authorization.AbpAuthorizationException: Current user did not login to the application!


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    There is a User property in the ImportUsersFromExcelJobArgs class.