If I'm developing a Blazor Server Side App with Windows Authentication, how can I get the logged-in user's picture?

122 Views Asked by At

@Ogglas stated:

If you create a new project and choose Blazor with Windows Authentication you get a file called Shared\LoginDisplay.razor with the following content:

<AuthorizeView>
    Hello, @context.User.Identity.Name!
</AuthorizeView>

My Question:

  • How can I add the logged-in user's picture to this component?
0

There are 0 best solutions below