Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WScript.Network object
Message
 
To
08/03/2002 14:20:10
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00628102
Message ID:
00630378
Views:
20
Hi Steve,
It is the users in Control Panel/ Users (or User Accounts in XP).
Say, you have a network user 'xyz', and a user 'abc' that is NOT set as a network user.
The first dialog lets you you pick user 'abc', and then you get the next dialog for logging into the network, where you enter 'xyz' and the network password for 'xyz'.
The WSH will return 'abc' as the username.

To George Tasker - if he ever gets back here...
Using WNetGetUser, instead of WSH, in the above scenario returns 'xyz' which I think is the correct answer.
I wonder if having to specify a drive is always safe - i.e. you can map same thing to any drive letters on a ws. In our case we do have a drive letter that should be the same on all ws.

Thanks George and Steve.

>Doru,
>
>What userlist in Win98 are you referring to? I didn't think WinXX would allow you to log in to the local machine with one username, and into a remote machine with another...
Doru
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform