Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "NetJoinDomain" in [All]

netapi32

.
Summary
The NetJoinDomain function joins a computer to a workgroup or domain.
.

static extern int NetJoinDomain(

.

Declare Unicode Function NetJoinDomain Lib "Netapi32.dll" _

.

    static extern uint NetJoinDomain(

.

        uint value1 = NetJoinDomain(server, domain, OU, account, password, (JoinOptions.NETSETUP_JOIN_DOMAIN | JoinOptions.NETSETUP_DOMAIN_JOIN_IF_JOINED | JoinOptions.NETSETUP_ACCT_CREATE));

.
Documentation
[NetJoinDomain] on MSDN

 
Access PInvoke.net directly from VS: