A
Arco
I have an application that is growing and requires Windows role based
security built into a navagation user control. I currently have the
security in the aspx forms with the Web.config file authorization and
authentication accessing roles and it is working.
I've created a user control, but unlike the aspx forms, the "Users" class
that I employ in the forms (read: User.IsInRole("someRole")) is not
available in the ascx user control. Adding: Imports System.Security still
does not allow me us use the "User" class.
Any ideas on what code I am missing?
security built into a navagation user control. I currently have the
security in the aspx forms with the Web.config file authorization and
authentication accessing roles and it is working.
I've created a user control, but unlike the aspx forms, the "Users" class
that I employ in the forms (read: User.IsInRole("someRole")) is not
available in the ascx user control. Adding: Imports System.Security still
does not allow me us use the "User" class.
Any ideas on what code I am missing?