🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Creating User Accounts

#13854
From: Charles Page
Date: Sun, 14 Sep 2003 02:20
38 lines
2180 bytes
Remy Lebeau (TeamB) wrote:

> "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
> 
> 
Thanks, very helpful.
This program is for internal use by the tech dept, everyone has admin 
access.  Makes given local admin access back to a user for their 
computer a lot easier.

charlie
Technical Details
Message-ID: <3f63d057$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!yellow.newsread.com!netaxs.com!newsread.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f63b3e5$1@newsgroups.borland.com> <3f63b78a$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 19:30:15 PST
Date: Sat, 13 Sep 2003 22:20:26 -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: Re: Creating User Accounts
References: <3f63b3e5$1@newsgroups.borland.com> <3f63b78a$1@newsgroups.borland.com>
In-Reply-To: <3f63b78a$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 64.252.101.121
Message-ID: <3f63d057$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1063506007 64.252.101.121 (13 Sep 2003 19:20:07 -0700)
Lines: 39
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!yellow.newsread.com!netaxs.com!newsread.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail