Article View: borland.public.cppbuilder.nativeapi
Article #13801Creating User Accounts
From: Charles Page
Date: Sun, 14 Sep 2003 00:19
Date: Sun, 14 Sep 2003 00:19
12 lines
1483 bytes
1483 bytes
Hi, In Windows 2000/XP Professional I am looking to create a local user on a local machine and then add that user (and that domain level user) to administrators, and then give them user full access to the disk. While I can find the functions for manipulating ACLs, I cannot find the functions to actually create a user (or perhaps trustee would be a better word to use). In the windows SDK I see the BuildTrusteeWith... functions but cannot find the CreateTrustee functions. How do I create a local user on a machine? Thanks, Charlie
Technical Details
Message-ID:
<3f63b3e5$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!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,1f0094afb37817e0,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-13 17:21:19 PST Date: Sat, 13 Sep 2003 20:19:06 -0400 From: Charles Page <lissom@snet.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Creating User Accounts Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 64.252.101.121 Message-ID: <3f63b3e5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1063498725 64.252.101.121 (13 Sep 2003 17:18:45 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail