I am trying to capture the current user's userid.
I have been able to get the username like this:
string idval = HttpContext.Current.User.Identity.Name.ToString();
But I need the userid specifically, and I don't want to query based on username.
Isn't there a way to get the current userid directly?
...
Go to the complete details ...