Azure AD Signed-in user

I followed the the msGraph example and can now include Azure AD authentication in my app using our tenant Azure AD for user authentication. very nice by the way.

now i would like to get information about the current signed-in user. I am able to use getuser to get properties about any user if I have their ID. but I want to find out who is currently logged in.

is this currently implemented in Radzen?

from Microsoft MS Graph documentation this is the method to get default properties for the signed-in user

GET https://graph.microsoft.com/v1.0/me

https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/user_get

OK. I think I found it.
there is a singleton "/me" in the MS Graph data source. this seems to give me exactly what I need.

thanks,
michael

1 Like