By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,703 Members | 1,400 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,703 IT Pros & Developers. It's quick & easy.

Add computer to domain & domain user to local group

P: n/a
Hi all,

Thanks in advance for your help.

I would like to know how to add a computer to a domain, and a domain user to
a local group.

Cheers
Paul
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
for the first, see

NetJoinDomain() in MSDN. It's part of the platform SDK.

MSDN probably has instructions on the latter as well. Note that these are
C functions, so you'll need to figure out how to call C functions from
managed code (you may need an intermediate component for this)
--------------------
Reply-To: "Paul" <an******@antispam.com>
From: "Paul" <an******@antispam.com>
Subject: Add computer to domain & domain user to local group
Date: Thu, 18 Sep 2003 10:18:55 +0200
Lines: 11
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
Message-ID: <#y**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: pc254.224.3.194.capgemini.fr 194.3.224.254
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:138750
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

Hi all,

Thanks in advance for your help.

I would like to know how to add a computer to a domain, and a domain user toa local group.

Cheers
Paul


Matt Evans
--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.