O$10.22: GetEnvironmentVariableW

Wayne Germann wgermann at PACIFIC.EDU
Mon Aug 29 18:34:25 UTC 2022

Thanks Jean-Marc

-----Original Message-----
From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> On Behalf Of jmv
Sent: Saturday, August 27, 2022 6:20 AM
To: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
Subject: Re: O$10.22: GetEnvironmentVariableW

CAUTION: This email originated from outside of Pacific. Do not click any links or open attachments if this is unsolicited email.

Bonjour Wayne,

> Does anyone know how to get the logged on users name?

There is an omnis method "getenv".
for example :
Calculate vUser as getenv("USER")
Quit method vUser

Kind regards,

Manage your list subscriptions at https://lists.omnis-dev.com Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com

More information about the omnisdev-en mailing list