So. i got a website in asp.net webforums, the thing is.
i can easyley control who can look to each pages with :
<location path="seetalktous.aspx">
<system.web>
<authorization>
<allow users="admin"/>
<deny users="*" />
</authorization>
</system.web>
</location>
the thing is, what can i do if i want a page to be seen to normal users, but only a text line will be showed to login ones, or only button will be showed to a user(admin) how can i do that?
thanks alot!
Use the LoginView control. Read this topic to see how to use the Rolegroups property to provide a template for a group.