Once a user is authenticated and authorized, the application can get information about the user by using the User object’s Identity property. The Identity property returns a
You can also get the current user identity using Principal Object.