Why RoleProvider using WCF Cache Service is restricted to Read access ?

Topics: WCF Cache Service
Feb 27, 2012 at 10:09 AM

 

my intention was to use .netSQLAzmanRoleprovider with WCF cache Service to assign users to roles from my WPF Client

but AddUsersToRoles can't be use with WCF cache Service.

all methods of the Roleprovider using WCF cache service are read only (GetAllRoles, GetRolesForUser, IsUserInRole..)

Is there a reason for that ?

 

My Project Context:

3 tiers: WPF Client / WCF / DataBAse

Users management: membership & WCF RIA Service:

Authorization Check: .NetSQLAzman & WCF (GetAuthorizedItemsForDatabaseUsers)

Authorization: .NetSQLAzman role provider & WCF 

Authorization Build: .NetSQLAzman (without WCF) using MMC Console

 

NB: .netSQLAzman is a great product !

 

Mar 16, 2012 at 8:33 PM

Yes … this behavior is by design because the WCF Cache Service should be used to read cached information only.