Hi,
I am using abp core with blazor and using EF for db. I am trying to insert list for current logged in user but data insertion is working except logged in user id so for this I have used CurrentUser.id as well but no luck.
So can you please suggest me what I can do for this or is this a bug. Please see this link for refrence [https://prnt.sc/wb7cub].
Thanks,
7 Answer(s)
-
0
Hi,
Can you share your code?
-
0
Hi Liangsiwei
Thanks for your early response and I am using below code to get current logged in user id [https://docs.abp.io/en/abp/latest/CurrentUser]
Thanks,
-
0
Sorry,
I need more infomation. Can I check it remotely? shiwei.liang@volosoft.com
-
0
Hi Lianghsiwei
Yes we can do this.
-
0
Please send an email to me. shiwei.liang@volosoft.com
-
0
just sent email for the same.
-
0
Try
AbpClaimTypes.UserId = ClaimTypes.NameIdentifier;