Do both named drivers (main driver and second driver) of a car insurence get no claim bonuses?

I am going to get my car insured, as in main driver being my mother and second driver being myself. i was wondering whether both named drivers benefit from the no claims bonuses or if it is just the main driver benefiting. thank you.
Answer
Direct line allow both to benefit from no claims bonuses, but i think there the only ones at the moment