How to customize "log in" in ASP.Net Visual studio 2010?
-
Tuesday, May 01, 2012 9:28 AM
Hi All,<o:p></o:p>
As we all
know that MS has already given user management in ASP web development. Thanks to MS.<o:p></o:p>Now, I want to customize it. Means...<o:p></o:p>
I'll be having some buttons that will be only visible when user login as administrator.
For normal user the button is disable. I do not want to make a separate .aspx
for login; but, with the same login feature [that is already provided] I want
to achieve this.<o:p></o:p>Please tell me how to do this or send me any link.<o:p></o:p>
Please help.<o:p></o:p>
Thanks. <o:p></o:p>
Jyotiranjan
- Moved by Bob ShenMicrosoft Contingent Staff Wednesday, May 09, 2012 2:35 AM (From:Visual C# Language)
All Replies
-
Tuesday, May 01, 2012 10:51 AM
You can use the LoginView control: http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.loginview.aspx.
With that, you can define different content to be shown to authenticated and anonymous users.
Marco Minerva [MCPD]
Blog: http://blogs.ugidotnet.org/marcom
Twitter: @marcominerva- Edited by Marco MinervaMicrosoft Community Contributor Tuesday, May 01, 2012 10:52 AM
- Marked As Answer by Bob ShenMicrosoft Contingent Staff Wednesday, May 09, 2012 2:34 AM
- Unmarked As Answer by Bob ShenMicrosoft Contingent Staff Wednesday, May 09, 2012 2:35 AM

