Open Closed

Regarding accessing extra properties login service in angular #1408


User avatar
0
ChetanKumbhar created

Hi, I have added new property user.SetProperty("********", DateTime.UtcNow.AddDays(90)) in AbpUsers Table, now i want access this extra property in angular side while log in the user. I am few details of user like Id, UserName, Email, TenantId, but could not get all details, I went through some document but could not find proper document. How should i access that property in angular side while login.

  • ABP Framework version: v3.0.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

4 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I think you can create an API to return the extra properties of the current user, because some extra properties may be secret and you should handle it yourself.

  • User Avatar
    0
    ChetanKumbhar created

    Hi,

    Is possible to return extra properties from log in service? If yes, what should be changes. means how should i customize log in service for adding extra properties

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Adding a new api to get user extra properties is the easiest.

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11