Open Closed

Seed Linked Accounts #6851


User avatar
0
dhill created
  • ABP Framework version: v8.0.4
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)

Is it possible to seed linked accounts to a new user. For example allowing a support user to login to any account using linked accounts.


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Yes, it's possible.

    You can inject the IdentityLinkUserManager in the data seeder.

    https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityLinkUserManager.cs#L74

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38