I have a Blazor Server application and need to get the current user ID. Its easy to get the email and the user name, but NOT the ID. It was so easy in .net core 2.2. Why they did not expose the ID is beyond me. I am using .net core 5.0.Is there any kind soul out there that could help with this one?
↧