I've successfully implemented forms authentication in my ASP.NET/VB.NET
project. I use the FormsAuthentica tionTicket to create a cookie on the
user's browser when they log on.
My question is: How can I reference this ticket later in the application for
applying security-settings based on the user? I want to prevent some users
from running some of the project's functions. I want to have logic in place
that check's the user's FormsAuthentica tionTicket and "IF User="BILL"
Then....".
Is this possible? Please let me know if this does not make sense. Thanks.
project. I use the FormsAuthentica tionTicket to create a cookie on the
user's browser when they log on.
My question is: How can I reference this ticket later in the application for
applying security-settings based on the user? I want to prevent some users
from running some of the project's functions. I want to have logic in place
that check's the user's FormsAuthentica tionTicket and "IF User="BILL"
Then....".
Is this possible? Please let me know if this does not make sense. Thanks.