|
|
| 00soups00 |
bit of help needed for those who know about Macro's and the such.
I need to know what the code is or the particular command is, or if its possible to write code in VB/Macros language, to extract network details from Windows (E.g Login/Username) This would need to work on a Novell Network, with windows end users.
any ideas people??
its not to do anything fancy, just to display a username from the windows network user or data files in the application. |
|
|
| bragi |
By far the easiest/laziest place to get it is from %USERNAME% and %USER% environment variables.
Are you talking VBS as in Windows Scripting Host?
If so, I'll go see our SOE boys in the morning and get it from them... as we're a novell shop, they'll have it sorted. |
|
|
| 00soups00 |
will see if this works an let you know.
cheers bragi :) |
|
|
| bragi |
Dim wshNetwork
Set wshNetwork = CreateObject("WScript.Network")
USERNAME = WSHNetwork.UserName
Msgbox USERNAME |
|
|
CLICK TO RETURN TO TOP OF PAGE
tranceaddict Forums Archive > Local Scene Info / Discussion > Australia
|