[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== How to get Windows 2000 user name ? (AREV Specific) ====
=== At 17 AUG 2001 02:27:00PM Dave Berkovsky wrote: ===
{{tag>"AREV Specific"}}
Hello Everyone,
Does anyone know of utility that will
return Windows 2000 login user name.
Thanks for your comments.
Dave Berkovsky
----
=== At 17 AUG 2001 05:31PM Jonathan Bird wrote: ===
Dave,
Yep, I've got some code to do that. I had your email address somewhaer, but I seem to have lost it. Please email me and I'll send it off to you.
Regards,
Jonathan Bird
jonathan@psi.net.nz
----
=== At 18 AUG 2001 05:15AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote: ===
The Win2000 username is often set up in the environment, and can be read from there, using [url=http://www.state-of-the-art.com.au/util7.zip]an AREV function to return the DOS environment[/url].
Just in case the USERNAME= environment variable isn't set in your environment, here's an [url=http://www.sprezzatura.com/winname.zip]AREV function[/url] that performs a 32-bit call to derive the current Windows username by calling the Windows API.
AREV does 32-bit Windows processing. We [i][b]like[/b][/i] the idea!
[url=http://www.sprezzatura.com]The Sprezzatura Group[/url]
[i]World Leaders in all things RevSoft[/i]
[img]http://www.sprezzatura.com/zz.gif[/img]
----
=== At 20 AUG 2001 07:50AM Dave Berkovsky wrote: ===
Thanks guys.
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=E534A8D66992E2EA85256AAB006559AD|View this thread on the forum...]]