Hi
I had having some problems getting an form authentication to work with a MS Access DB but now i got it.
Now i need help adding roles handling to my page.
I have a database (ms access) with username, Password, Role
How do i bind the field Role from the database, so i can show diffrent things to the user, depending on the role !?
I have tryed adding this to the default page, but i only get the stringbuilder event, i dont get the Role print, and i think its bc. the script dont now how to use the field from the database.
<asp:LoginView ID="LoginView1" runat="server">
<RoleGroups>
<asp:RoleGroup Roles="User, Admin, Manager">
<ContentTemplate>
You are loged in and is a Normal User: <asp:HyperLink ID="hlGroup1" NavigateUrl="#" runat="server">UserLink</asp:HyperLink><br />
</ContentTemplate>
< ...
Go to the complete details ...