I have a Silverlight Business Application configured to use Membership and Roles.
I have a page within my Silverlight application that can only be accessed by user's belonging to the "Admin" role.
I have a RadDomainDataSource on that page which is attempting to access a query names "GetAllUsersQuery", which within the service definition has an attribute [RequiresRole("Admin")], however, that Domain Data Source is returning a DomainException as it is trying to load before the user has been authenticated and checked to be within the Admin role.
How do I go about fixing this problem?
I have a page within my Silverlight application that can only be accessed by user's belonging to the "Admin" role.
I have a RadDomainDataSource on that page which is attempting to access a query names "GetAllUsersQuery", which within the service definition has an attribute [RequiresRole("Admin")], however, that Domain Data Source is returning a DomainException as it is trying to load before the user has been authenticated and checked to be within the Admin role.
How do I go about fixing this problem?