🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Help with NetUserGetInfo

#16250
From: Randel Bjorkquist
Date: Fri, 23 May 2003 12:51
19 lines
1733 bytes
Hi all,

I have written a test program that uses both the GetUserName &
NetUserGetInfo functions.  They both work just peachy on my computer, a
Windows2000 Pro with my account in the local administrators group.  But when
I run that same test program on someone else's computer, I get the
"NERR_UserNotFound" error.

I don't understand why or how this comes up, because they are logged onto
our network.  The documentation for NetUserGetInfo says that "No special
group membership is required to successfully execute NetUserGetInfo. This is
a change from LAN Manager, which required membership in the Administrators
or Account Operators local group..."

Can someone give me a pointers as to where to start trouble shooting?

Thanks,

Randel Bjorkquist
Technical Details
Message-ID: <3ece194f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,7a43348e30774584,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-23 06:01:11 PST
From: "Randel Bjorkquist" <rbjorkquist@coilcraft.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Help with NetUserGetInfo
Date: Fri, 23 May 2003 07:51:28 -0500
Lines: 21
Organization: Coilcraft, Inc.
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
NNTP-Posting-Host: 209.172.185.194
Message-ID: <3ece194f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1053694287 209.172.185.194 (23 May 2003 05:51:27 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail