hey
asp.net
In my webproject I have defined 2 roles, Customer and Admin. A person
registered at the website can be member of both roles. I want the Customer
role to see some standard webpages, and the Admin role to see the standard
webpages with some extra features...
I use LoginView
<RoleGroups>
<asp:RoleGrou p
Roles="Customer "><ContentTempl ate>customer</ContentTemplate ></asp:RoleGroup>
<asp:RoleGrou p Roles="Admin">< ContentTemplate >You are
admin</ContentTemplate ></asp:RoleGroup>
</RoleGroups>
The markup above doesn't work. When a person is member of both roles only
"customer" is displayed on the webpage. haven't tested if the person is
member of just Customer...
what am I doing wrong here?
asp.net
In my webproject I have defined 2 roles, Customer and Admin. A person
registered at the website can be member of both roles. I want the Customer
role to see some standard webpages, and the Admin role to see the standard
webpages with some extra features...
I use LoginView
<RoleGroups>
<asp:RoleGrou p
Roles="Customer "><ContentTempl ate>customer</ContentTemplate ></asp:RoleGroup>
<asp:RoleGrou p Roles="Admin">< ContentTemplate >You are
admin</ContentTemplate ></asp:RoleGroup>
</RoleGroups>
The markup above doesn't work. When a person is member of both roles only
"customer" is displayed on the webpage. haven't tested if the person is
member of just Customer...
what am I doing wrong here?