Last post Mar 31, 2006 01:30 PM by XIII
Mar 31, 2006 12:57 PM|locoytravieso|LINK
Currently I only have "Friends" and "Administrators" groups on my personal web site. What all would it entail to create a "Family" group? I want to have certain photos that only family can see and others that only friends can see. Has anyone created additional
Mar 31, 2006 01:30 PM|XIII|LINK
you could extend the functionality in the global.asax where the roles are created if they're not available in the database.
In the App_Code subfolder you can find lines of code like these:
bool filter = !(HttpContext.Current.User.IsInRole("Friends") || HttpContext.Current.User.IsInRole("Administrators"));
so it should be quite easy to add extra checks for another role.