Last post Jan 18, 2009 07:02 PM by sjnaughton
Jan 18, 2009 03:20 PM|dizzy77|LINK
I need my products table rows to be filtered by specific roles and categories, in other words I need users to list/edit/view only products from specific categories controlled by roles (asp.net membership) e.g. "Toys Manager". So how to approach this?
I'm using these Steves http://csharpbits.notaclue.net/2008/09/dynamic-data-futures-part-2-anycolumn.html and
SecureDynamicData.zip from Codeplex.
Can these two be combined to create Integer type like row filtering programmatically so if user in role "Toys Manager" is logged then only products from Toys category are listed ? (assumnig that products/categories tables are referenced but foreign key as
usual so Integer filtering can be applied)
Jan 18, 2009 07:02 PM|sjnaughton|LINK
Hi Daniel I have a small sample I can send you if you like which does this based on user but it could easily be adapted to use roles, just send me an e-mail via the contact button if you want the sample.
Limit Rows By User