Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


How to Determine if a Win95 User is Logged into a Network Already

Keywords: 	  w95getuser

Question:

How can I check if a user on a Win95 machine is logged onto a network?

Answer:

  1. Use w95GetUser and specify the logon domain (the server the user logs into).

    If it returns a blank string, they're not logged in.

  2. Execute other networking functions and capture for the error. E.g., do a w95AddDrive. If it generates an error, then trap for it, and perform some action based upon that information.

Article ID:   W13527
Filename:   Determine if 95 User is Logged into a Network.txt