Need example of Security FormAuthenicationTicket
I am using the Login Control in my Web app. In the OnAuthenticate event, I
call a ValidateUser method to validate users stored in a SQL Server
database. I then set the Authenticated property appropriately and call the
main web form. In the user table, I have a column called role that
indicates whether the user is an Administrator or a Clerk. How can I use
the FormsAuthentication class so that I can use the IsInRole() method.
Bill
Date:Sun, 5 Aug 2007 17:56:09 -0400
Author:
|