Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find network server name or network domain name 1

Status
Not open for further replies.

mustangcoupe

Technical User
Feb 26, 2003
221
US
I am working on a FE/BE with replicated access database in 2 states. I need to programaticly find where the user logged into either which server athuinticated their user name or therir current windows network domain. I know I can use environ to get user name ect. but I need to know where they are so I can direct them to the correct BE file locations.

Thanks

--Todd


TechnicalUser pretending to be a programmer(shhh… the boss doesn’t know yet)
 
It works also in win2000.

Thanks

--Todd


TechnicalUser pretending to be a programmer(shhh… the boss doesn’t know yet)
 
As you know the Environ function, try this variables:
ComputerName, LogonServer, UserDNSDomain, UserDomain and UserName.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top