Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

How to get PrincipalInfo in web api?

$
0
0

Hi!

I have a site which is built on AspNet Identity, and I would like to have an api method (not using Headless) that returns logged in status for the current user.

Is this possible?

It looks like this:

As you can see, I get Name "" and only the "Everyone" and "Anonymous" role, even thought the user is logged in.


Viewing all articles
Browse latest Browse all 6894

Trending Articles