AnsweredAssumed Answered

vrf Information About Current User

Question asked by rsb on Apr 6, 2004
"Robert Kapp" <robert.kapp@flumesys.de> wrote:
> Hi vrf,
>
> My platform for VEE (Version 6.01) is Windows 2000 (with some different
> users). Is there a possibility in VEE to get information about the current
> user (like there is for getting the current operating system via whichOS() ?
> I would need this information for automatically installing files into user
> specified directories.

sure

This is environment setting. If you bring up a shell and type in
  set | more
it will list all the environment variables.

In your case you want USERNAME so a formula with  getEnv("USERNAME")
will give you the user.

Stan


--------------------------------------------------------------------------
Stan Bischof  Agilent Technologies  707-577-3994  stan_bischof@agilent.com
--------------------------------------------------------------------------

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes