Hi guys,
I need to validate if a user has access to a given page.
Here's the code:
var supPage = PageView.GetPageviewByPageID((int)item);
// This line always writes "false"
//Response.Write(supPage.Security.PageProtect.ToString() + "<br />");
if (supPage.Security.PageProtect == true)
{
//... do something clever
}
I hope you can help me soon. The deadline is today.