Home » FAQ » ASP.NET » Miscellaneous » How to check if the current User has been Authenticated?
VB.NET
If User.Identity.IsAuthenticated Then ’Your code End If
C#
if (User.Identity.IsAuthenticated ) { //Your code }
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with