I saw here: https://support.aspnetzero.com/QA/Questions/7845/UserAccount-table-purpose-Multitenancy that it looks like the UserAccounts table is used just for the linked accounts feature. I was wondering if we don't want that feature can we override the Abp.Authorization.Users.UserAccountSynchronizer and simply not save that data there? We are wanting to use a different database for a tenant and they don't want that data outside their database.
3 Answer(s)
-
0
Hi @japnolt
The UserAccount table is also used for batch notification. https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Application/Notifications/SendNotificationToAllUsersBackgroundJob.cs
-
0
If I don't care about using that feature either is it ok to override the UserAccountSynchronizer? Or is there something else I an do to not save that data?
-
1
Hi @japnolt
Yes, you can do this. This table is a way of allowing a central point of access for all users across all tenants even if they use a different database. But, if that's not a problem for you, you can replace it with an empty class.