Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

authentication and authorization in asp.net c# with example

Response.Write(User.Identity.Name +"<br>");
Response.Write(User.Identity.AuthenticationType + "<br>");
Response.Write(User.Identity.IsAuthenticated + "<br>");
Response.Write(User.IsInRole("Administrators") + "<br>"); 
Source by www.codeproject.com #
 
PREVIOUS NEXT
Tagged: #authentication #authorization
ADD COMMENT
Topic
Name
6+1 =