🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: User Name?

#16605
From: Remy Lebeau (TeamB)
Date: Thu, 08 May 2003 20:11
14 lines
1279 bytes
"Randel Bjorkquist" <rbjorkquist@coilcraft.com> wrote in message
news:3ebaacee$1@newsgroups.borland.com...

> Is there a way to get the name the user is logged in as

GetUserName().

> and then go get their full system information, like first/last name?

NetUserGetInfo() with the dwLevel parameter set to 2 or higher.


Gambit
Technical Details
Message-ID: <3ebab986$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ebaacee$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,390cdc0a29186e7a
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-08 13:20:28 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ebaacee$1@newsgroups.borland.com>
Subject: Re: User Name?
Date: Thu, 8 May 2003 13:11:31 -0700
Lines: 16
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: 207.175.226.26
Message-ID: <3ebab986$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1052424582 207.175.226.26 (8 May 2003 13:09:42 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail