public interface IUserGroupMembershipProvider
{
IEnumerable<UserGroup> UserGroups { get; }
}
The default implementation is based on HttpContext.Current.User.Identity and Roles.GetRolesForUser.
A custom implementation can be registered in ServiceLocator if this behavior needs to be customized.