Starts in:
2 DAYS
3 HRS
16 MIN
12 SEC
Starts in:
2 D
3 H
16 M
12 S
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 November 20, 2024, 13:06