I am using windows authentication in my application
if(User.IsInRole("Supervisor"))
{
//do something
}
which is working as expected.
Now i want to fetch a UserId of the logged in user from aspnet_Users table . I tried using Membership.GetUser , which did not worked.
Is there any way to do so?