As an alternative ...

I believe there is an API call that could be done to get the netware
USERNAME etc 
(Just depends on how important these calls are from a security point of
view).

>From memory there was a component on the Delphi super page that encapsulated
netware calls to get this kind of info.

Myles.

> -----Original Message-----
> From: Glen Boyd [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, 7 April 2000 10:41
> To:   Multiple recipients of list delphi
> Subject:      [DUG]:  GetEnvironmentVariable Problem
> 
> I have solved my problem by using the NWUSERNAME variable instead.  I
> didn't even see it becuase it scrolled off the screen.  However
> GetEnvironmentVariable doesn't seem to work on envvar names of 1 char. 
> Is this a limit of the GetEnvironmentVariable function?
> 
> -- 
> Glen Boyd             <[EMAIL PROTECTED]>
> Programmer            Napier City Council
> Private Bag 6010, Napier, NEW ZEALAND
> Phone: +64-6-8357579  Fax: +64-6-8357574
> --------------------------------------------------------------------------
> -
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to