#1
|
|||
|
|||
WM user and password
I would like to open a WM client session with no request of user name and password. In fact I would like to use a launch/batch file in which I say who is the user and which is his password. Any time I open WM it proposes the currently logged windows user as default user, and asks for his password. Which command can I use? |
#2
|
|||
|
|||
re: WM user and password
Hi Andy, DMS_LOGIN takes the name and password of the user to login. Below I can pasted a copy from the manuals which should explain the whole process. Thanks. Neil Comments Before logging in to the database server, you must first establish a connection with the DMS_CONNECT function. The DMS_LOGIN function is one of three needed to establish the full logical connection to the database and WorkManager product. DMS_CONNECT Provides a socket connection to the database server. FILE_SERVER Establishes a similar connection to the file server. DMS_LOGIN Tests the login name and password and if good, enables the user to work with the functions. DMS_DISCONNECT Is all that is called to exit from the database.
|
#3
|
|||
|
|||
re: WM user and password
LET wmuser 'WMPRINT' LET pswd 'READONLY' LET err (DMS_LOGIN wmuser pswd)
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|