Mega Code Archive
Categories
/
ASP.Net Tutorial
/
Authentication Authorization
Using an IfThen statement that checks authentication
If (User.Identity.IsAuthenticated()) Then ' Do some actions here for authenticated users Else ' Do other actions here for unauthenticated users End If