Options

Block company access to users

zenzen Member Posts: 8
Dear all,
My customer have two companies in the same database running on v4 SP2 under Sql server 2003 and they want to block access to one company to some users.

My first idea was to block access through the codeunit 1, but the menusuite appears when the user close the error message that I coded. Does anyone know how could I do to prevent users to connect to the company.

Thanks.

zen.

Answers

  • themavethemave Member Posts: 1,058
    When you assign users --> roles there is a field for company

    go to roles and open the windows or database logins and it should be there,

    we use the navtive database, so I am not sure about SQL, but I believe it should work
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    This is from the on-line help:
    The Navision security system is company specific and contains information about the permissions that have been granted to each individual user with access to each particular company. This includes information about the roles the users have been given as well as any particular rights that they have been granted as individual users. If you specify that the permissions a user has only apply to a particular company in the database, the user in question will only be able to see that company.

    For more information about security in Navision, see the Installation and System Management manual for either Microsoft Business Solutions–Navision Database Server or the Microsoft Business Solutions–Navision SQL Server Option.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • zenzen Member Posts: 8
    I am too stupid….

    How I could not see that!!!

    Thanks a lot.

    zen.
Sign In or Register to comment.