Custumizing Pages based on security status

D

Devin

I am trying to create pages that are viewable without a login, but if a person does login I want certian pages to display customized content. For example, I have a calendar page that loads up to anyone. But on the same page I want to restrict showing the hyperlink to "Adding a calendar Event" to someone who logs in with that permission. How can I do this because the login examples i have found through form based authentication require that the whole page is either shown or not show. Is this correct or am I wrong

Thanks in advance

Devin
 
G

Guest

If (IsAuthenticated==true )
{
CustomerUserControl.Visible = true;
}e
else
{ CustomerUserControl.Visible = false; }

You could expound upon this so that users have different roles and thus have
access to different content

Hope this helps - Posting is provided as is
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top