how to pass the username and password while running

venkateshvenkatesh Member Posts: 51
hello,
i want to schedule a task (batch file) that automatically runs the navision application in a particular username and password and imports data from a text file.

i want to know how to pass the username and password.

please help me to solve this problem.


thanks,

regards,
venkatesh ](*,)

Comments

  • BGIBGI Member Posts: 176
    I don't think you can do this..
    other way is to use windows logins, and put some variables in your batch file.
    In codeunit 1 you get the value of this variable with environ command and execute what you want depending on this variable..
    Rgds
    Benny Giebens
  • kinekine Member Posts: 12,562
    NAS is working only with Windows authentication...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.