How to check if the current User has been Authenticated?

Platform: ASP.NET| Category: Miscellaneous

VB.NET


If User.Identity.IsAuthenticated Then
   	’Your code 
End If

C#


if (User.Identity.IsAuthenticated ) 
{
	//Your code 
}

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.