I am looking for a solution to implement a multi-dimensional Role API.
The .NET Role API is 2-dimensional (User & Role).
I need at least 4-dimensional (User, Role, Region, & Group).
I need to be able to check if a User has a particular Role, or a particular Role in a Region, or a particular Role in a Region for a Group.
Users are from the Membership Provider.
Roles are from the Role Provider.
Regions could be states or geographic regions (like New England or Southern region).
Groups could be like Management, Support, Technical, etc...
The Regions and Groups will be defined in data lookup tables.
Users can have multiple Roles in multiple Regions for multiple Groups.
Since the Roles class is marked as NotInheritable, does anyone have any suggestions?
...
Go to the complete details ...