Starts in:
1 DAY
22 HRS
47 MIN
58 SEC
Starts in:
1 D
22 H
47 M
58 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