c# - ASP.Net WebForms| Show text only to login users? -
so. got website in asp.net webforums, thing is.
i can easyley control can each pages :
<location path="seetalktous.aspx"> <system.web> <authorization> <allow users="admin"/> <deny users="*" /> </authorization> </system.web> </location> the thing is, can if want page seen normal users, text line showed login ones, or button showed user(admin) how can that?
thanks alot!
use loginview control. read topic see how use rolegroups property provide template group.
Comments
Post a Comment