0.9b (c) 1995 Peter Childs
The function initializes the domain control database for the specified userid and replaces any existing userid specific domain controller database files with empty database files.
Syntax
MyRc = NetMisc(NETUSERDCDBINIT, Userid, SrvName)
Parameters
The parameters required and returned are:
Userid The userid name
SrvName The computer name of the Domain Controller
Example
/* Some */ /* Reset DCDB information for a userid */ call RxFuncAdd 'LoadLsRxutFuncs', 'LSRXUT', 'LoadLsRxutFuncs' call LoadLsRxutFuncs NETUSERDCDBINIT = 720 UserID = 'THE_USER_ID' SrvName = '\\KING_BALU' myRc = NetMisc(NETUSERDCDBINIT, Userid, SrvName) if myRc <> '0' then do say 'Got error from NetMisc() ' myRc exitRc = 9 end else do say 'DCDB initialized successfully' say exitRc = 0 end call DropLsRxutFuncs call RxFuncDrop 'LoadLsRxutFuncs' exit exitRc
Example Output
DCDB initialized successfully
Inf-HTML End Run - Successful