userPermissionCache list of access

Topics: General Topic
May 11, 2012 at 4:34 PM

string

[] items = userPermissionCache.Item;

That gets all the list of items within NetSqlAzMan, is there a way to get just the Operations that the user is allowed to do instead of calling

auth = userPermissionCache.CheckAccess(myOperation,

DateTime.Now);

For every operation?

Coordinator
May 14, 2012 at 5:26 AM

With UserPermissionCache you have to CheckAccess for each operation.

If you want you can use Linq2Object.

Otherwise you must switch to WCF Cache Service that has “GetAuthorizedItems” capability.

Regards,

Andrea.

__________________________________
Andrea Ferendeles
NetSqlAzMan Project Coordinator
E-mail aferende@hotmail.com Web http://netsqlazman.codeplex.com