Options

How to get the login information?

kenlkenl Member Posts: 182
Hello,

How can I get the login Type (Database or Windows) and login name in Navision 4.0?


I would like to set some security control on a form by the login users. So that I need to create a setup table, and get the login users to determine enable or disable the control on a form. :|


Thanks.

Comments

  • Options
    XaviXavi Member Posts: 26
    Have a look into the Session table (ID 2000000009).
  • Options
    kenlkenl Member Posts: 182
    Hello,

    I finally make use of the Table "User Setup" to make it easier. In this way I don't need to determine the login information. All I need to use is the function "userId()".
    Thanks.

    Ken
Sign In or Register to comment.