>Is there an easy way to get the WSID from Windows?
Bill,
GetComputerName API function returns the name. sys(0) wraps that and one another to also return the username.
If your intention is to add this to a connectionstring like SQL server connection you could do w/o it too :
lnHandle = SQLStringConnect('Driver=SQL server;Server=servername;'+;
'Trusted_Connection=Yes;')
or:
lnHandle = SQLStringConnect('Driver=SQL server;Server=servername;'+;
'Integrated Security=SSPI;')
Cetin