Activities of "nparejod"

Maybe, I didn't ask the question properly. I need to make a custome property visible inside "CurrentUser" in order to use it as a filter. I need to know how to get information of a custome property in abpuser throught "IcurrentUser" to use as a filter.

I was told that I need to add the information to a claim to be able to extract it using CurrentUser, is there a tutorial to do that?

Hello,

I am still confused about adding CustomerId to current claims. I am new using this framework, I apology for my lack of experience, abp commercial is a really cool framework that I would like to learn how to use it. I have more questions:

  • If I use claims, how do I populate/assign the CustomerId to all users? I need to assign a different Customer Id to each user
  • Where should I create the class AbpClaimsIdentityExtensions? which project / folder?
  • Any code that shows how to extract CustomerId from current claims?
  • Any detailed documentation I can use?

Thanks in advance for your help.

Nestor

Hello, That solution doesn't work for me. I am not using Claims. I just want to make available a new field I created in AbpUsers entity inside CurrentUser.

Please help!

Thanks for your help. Second link worked for me. I have one more question: Will the new field "CustomerId" be available in current user information? https://docs.abp.io/en/abp/latest/CurrentUser

I need to create a filter with that field to be applied to Customer entity, so I need the field to be extracted from CurrenUser, is that possible?

Thanks,

Nestor

After adding the migration, it is workign fine! Thanks for your help.

Answer

Hello, I have the opossite issue, I want to see a full stack trace of an exception, I need to see the real error. All I see is this:

I am new implementing ABP framework, any help will be appreciated.

Nestor

Hello, Does ABP framework have a mechanism to define the culture at the tenant lavel? I don't want to hardcode the culture code "en-us" in every single line of code that needs to show the dollar sign. Would it be possible setup a global/tenant culture variable?

Thanks,

Nestor

Hello,

I have the same issue.

What would it be the workaround at this moment if we need to add a new field to the AbpUser table using Blazor?

Thanks liangshiwei, the problem was I couldn't log in into a tentan but I figued out, I changed admin passwordHash in table AbpUsers.

Do users need to select a tenat all the time they want to log in? Is there a way for user to login to the assigned tenant seamless without selecting a tenant?

Thanks.

Showing 1 to 9 of 9 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11