Article View: borland.public.cppbuilder.nativeapi
Article #13853Re: Creating User Accounts
From: Remy Lebeau (TeamB)
Date: Sun, 14 Sep 2003 00:35
Date: Sun, 14 Sep 2003 00:35
25 lines
1807 bytes
1807 bytes
"Charles Page" <lissom@snet.net> wrote in message news:3f63b3e5$1@newsgroups.borland.com... > In Windows 2000/XP Professional I am looking to create a > local user on a local machine Look at NetUserAdd(). > and then add that user (and that domain level user) to > administrators, and then give them user full access to the disk. Unless your program is already running an admin account, you won't be able to give other accounts admin rights. That would be a breach of security of any program running under any user account could create arbitrary admin accounts on the fly. Gambit --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03
Technical Details
Message-ID:
<3f63b78a$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!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f63b3e5$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,1f0094afb37817e0 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-13 17:39:20 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f63b3e5$1@newsgroups.borland.com> Subject: Re: Creating User Accounts Date: Sat, 13 Sep 2003 17:35:05 -0700 Lines: 27 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: <3f63b78a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1063499658 207.175.226.26 (13 Sep 2003 17:34:18 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail