J
Jeff
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:RoleGroup
Roles="Customer"><ContentTemplate>customer</ContentTemplate></asp:RoleGroup>
<asp:RoleGroup 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:RoleGroup
Roles="Customer"><ContentTemplate>customer</ContentTemplate></asp:RoleGroup>
<asp:RoleGroup 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?