USER ROLES NOT WORKING ACCORDING TO THE COMPANY IN NAV 5.0 ?

In our Company we have more than one company ,we are assigning the Roles for each company. separetely . but

one company role is applying to anothe company also why this is happening ?

can you give some more details?

where did u set the roles per company and is it in classic/RTC?