Base solution for your next web application
Open Closed

Profile object #453


User avatar
0
antpstevens created

Hi... I need to extend the profile object to store / collect other meta data per tenant associated with a user such as strings, boolean etc. Could you advise if this is possible and the approach/code Thanks.


1 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Sure, you can add your custom properties to User class (<a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/blob/master/src/MyCompanyName.AbpZeroTemplate.Core/Authorization/Users/User.cs">https://github.com/aspnetzero/aspnet-ze ... rs/User.cs</a>). Remember to add-migration and update-database after changing entities.