Article View: borland.public.cppbuilder.nativeapi
Article #3441Getting list of users on this PC
From: Pete Fraser
Date: Fri, 09 Jun 2006 21:35
Date: Fri, 09 Jun 2006 21:35
8 lines
1221 bytes
1221 bytes
I'm trying to write some code to find out which users have an account on my PC. Is there a Windows API to do this? I know that I can get the documents and settings dir for a user, but the parent of that may not contain all users as that can be user modified (I do this for my account). Are there any other ideas from folks? Thanks, Pete
Technical Details
Message-ID:
<4489e9a2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d5b7a1667c30f840,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Pete Fraser" <pete.fraser@frasersoft.nospam.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Getting list of users on this PC Date: Fri, 9 Jun 2006 22:35:38 +0100 Lines: 10 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 82.21.95.6 Message-ID: <4489e9a2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1149888930 82.21.95.6 (9 Jun 2006 14:35:30 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail