comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.net>
To: comp.lang.ada@googlegroups.com
Cc: "Rego, P." <pvrego@gmail.com>
Subject: Re: Read Windows login username in Ada 95
Date: Wed, 09 Nov 2011 11:44:14 +0100
Date: 2011-11-09T11:44:14+01:00	[thread overview]
Message-ID: <4EBA597E.7070006@obry.net> (raw)
In-Reply-To: <9192369.445.1320801564794.JavaMail.geo-discussion-forums@yqbl36>

Le 09/11/2011 02:19, Rego, P. a �crit :
> Is there a function in Ada 95 which returns me a String containing
> the logged username in an Windows application? Thanks.

No, for a portable solution you can use:

    POSIX.Process_Identification.Get_Login_Name

Available on Florist (GNU/Linux) and wPOSIX (Windows).

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|    http://www.obry.net  -  http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B




  parent reply	other threads:[~2011-11-09 10:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09  1:19 Read Windows login username in Ada 95 Rego, P.
2011-11-09  5:05 ` tmoran
2011-11-10  0:02   ` Adam Beneschan
2011-11-10  1:17     ` Rego, P.
2011-11-09 10:44 ` Pascal Obry [this message]
2011-11-09 20:47 ` Rego, P.
2011-11-09 21:06   ` Pascal Obry
2011-11-10  1:16     ` Rego, P.
2011-11-09 21:52   ` Jeffrey Carter
2011-11-10  1:21     ` Rego, P.
2011-11-10  2:09       ` tmoran
2011-11-10 18:26       ` Jeffrey Carter
2011-11-10 23:13         ` Pascal Obry
2011-11-12 14:21           ` Rego, P.
2011-11-10 23:13         ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox