Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
- What is your product version?
- What is your product type (Angular or MVC)?
- What is product framework type (.net framework or .net core)?
- .net core
If issue related with ABP Framework
If issue is about UI
- Which theme are you using?
- What are the theme settings?
I am using rhe existng API to get the user Info using "UserManager.FindByIdAsync(usrId)". For user id 1 it is giving proper info. But for other user ids(eg-2/3/4) its giving null response.Please guide me through this.
I think you are doing the query when the user is logged in as a Host user. In that case, a
TenantId = nullfilter is added to your query. Basically, you can only query users on the current tenant. If there is no logged in user, current tenantId will be
null. If you want to query all users, you can disable multi tenancy filter, see https://aspnetboilerplate.com/Pages/Documents/Data-Filters#disable-filters
Have an answer to this question? Log in and write your answer.