lancetek
-
6/9/2011 5:45:54 PM
RE:Hierarchy
I think you could do this by simply adding another field to the User object, let's use 'parentId'. Then you populate this with the parentId...
Then a user could have a manager as the parent which could have the dealership as his parent who could have the dealer region as his parent, etc.
Of course you may need to do custom queries to pull out data in your hierarchal structure and display it sensibly - but Kentico is very flexible in that regard.
By 'roles' Kentico means 'sets of permissions', so if by 'roles' you mean 'dealer', 'salesman', etc, then just add another field to the User object, call it 'userRole' and populate as you like.
To add these fields, use the site manager, go to Development, then 'system tables' and add another field to either the User or the User-settings 'classes'. Kentico makes this *easy*!
Cheers, Lance
|