[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: OS User using SQR



I thinks the environment variable is USERNAME but its
not supported in 98 or 95 machines.

Arun
--- Bill Beckner <Bbeckner@ICC.EDU> wrote:
> If your user's OS id is in an environment variable,
> you can use the GETENV
> function:
>
> Example: let $myuser = getenv('USER')
>
> Hope this helps!
>
> --
> William Beckner -- Stunt Programmer (Just call me
> "Bill")
> Illinois Central College, Rm L141 -- East Peoria, IL
>  61635-0001
> PH: (309) 694-8419 -- FAX: (309) 694-8995
> "I'm out of my mind. I'll be back in five minutes."
>
>  -----Original Message-----
> From:   Praveen Gopu [mailto:Praveen.Gopu@AXACS.COM]
> Sent:   Monday, February 04, 2002 12:40 PM
> To:     SQR-USERS@list.iex.net
> Subject:        OS User using SQR
>
> Hi Everyone,
>
> Can we get the OS user id from SQR into a variable?
>
> I am using call system using within SQR but I need
> to store the OS user
> into a variable within SQR.
>
>
> Any thoughts?
>
>
> Thanks,
> Praveen


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com