0
RenuSolutions created
Prerequisites
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
- What is your product version?
- Latest
- What is your product type (Angular or MVC)?
- Angular
- What is product framework type (.net framework or .net core)?
- .net core
If issue related with ABP Framework
- latest
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.
Thanks Dhivya
1 Answer(s)
-
0
Hi,
I think you are doing the query when the user is logged in as a Host user. In that case, a
TenantId = null
filter 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 benull
. If you want to query all users, you can disable multi tenancy filter, see https://aspnetboilerplate.com/Pages/Documents/Data-Filters#disable-filters