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

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -