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:
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.