Using VFP 9.2 on Windows 2000 or XP workstations. Back end is MS SQL 2000.
Some users are on the same domain as the server and so I allow them access
with "trusted_user=yes" in the connection string.
Others are outside our domain and not in a trusted domain (or any domain)
and so I intend to set up SQL Server users and prompt them for userid and
password.
I'd like to do this with one startup program if possible and so I'm looking
for something that will return the domain name. Something on the order of
sys(0) which returns the machine name and userid.
Any thoughts?
Thanks.
Dave Tiffany