Add computer to domain & domain user to local group

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

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
 
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" <[email protected]>
From: "Paul" <[email protected]>
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: <#[email protected]>
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!TK2MSFTNGP12.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 to
a 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.
 
Back
Top