🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12314

Re: windows login access?

#12314
From: Albert Milani
Date: Tue, 16 Dec 2003 16:22
23 lines
1430 bytes
Hi,

How about    GetUserName( name_buf, &size ); ?

Ciao,
Albert

"Robert Hoover" <not.a.real.address@anywhere...sorry> wrote in message
news:3fdf28d3@newsgroups.borland.com...
> Not sure if this is the right group, can't access
> borland.public.cppbuilder.winapi....
>
>
> Is there a way to ask Windows who logged in when the OS started?
>
> I'd much rather piggyback on windows instead of writing another program to
> set up accounts for my program... :)
>
> Thanks,
>
> Rob
>
>
Technical Details
Message-ID: <3fdf313c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fdf28d3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,52c15f58e594965a
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-16 08:42:13 PST
Reply-To: "Albert Milani" <albertm13NOSPAMPLEASE@juno.com>
From: "Albert Milani" <albertm13NOSPAMPLEASE@juno.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fdf28d3@newsgroups.borland.com>
Subject: Re: windows login access?
Date: Tue, 16 Dec 2003 11:22:14 -0500
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 68.81.56.154
Message-ID: <3fdf313c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1071591740 68.81.56.154 (16 Dec 2003 08:22:20 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail