From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4800b2e2656ad00e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-13 20:55:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.airnews.net!cabal12.airnews.net!usenet From: "John R. Strohm" Newsgroups: comp.lang.ada Subject: Re: recuperation du nom d'utilisateur Date: Sun, 13 Jul 2003 22:49:29 -0500 Organization: Airnews.net! at Internet America Message-ID: References: <2003713-224037-305837@foorum.com> Abuse-Reports-To: abuse at airmail.net to report improper postings NNTP-Proxy-Relay: library2.airnews.net NNTP-Posting-Time: Sun, 13 Jul 2003 22:53:35 -0500 (CDT) NNTP-Posting-Host: !co##1k-X?ZYhU@ (Encoded at Airnews!) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: archiver1.google.com comp.lang.ada:40251 Date: 2003-07-13T22:49:29-05:00 List-Id: "SebOne" wrote in message news:2003713-224037-305837@foorum.com... > > Bonjour, > je souhaiterais savoir s'il est possible de recuperer le nom de l'utilisateur > actuellement connecte sur un ordinateur (os: windows XP), grace au langage de > programmation Ada. Si cela l'est, pourriez-vous m'eclairer sur ce sujet? > Merci. That is going to be compiler- and operating system-dependent. Windows XP probably provides a C/C++ API for that purpose: you would probably have to write an Ada binding to it, for your particular compiler. Your compiler vendor may already have such a binding available. (Thank you, Babelfish.)