1 Dec 2009 08:28
Netapi for testjoin
Yinon Yamin <Yinon.Yamin <at> exanet.com>
2009-12-01 07:28:14 GMT
2009-12-01 07:28:14 GMT
Hello everyone, I am trying to write a small utility that can join, unjoin and testjoin to a DC. For the join / unjoin I used the netapi NetJoinDomain / NetunjoinDomain and it seems to work well. The question is which API should I use in order to implement the testjoin predicate. The "testjoin " should return TRUE iff the host is already joined to the DC. (same functionality as the "net testjoin"). Thanks in advance, Yinon
RSS Feed