0.9b (c) 1995 Peter Childs
This function copies all Userid definitions to a binary file. If the file is a valid "userid binary file" (a file created by the functions provided in LSRXUT.DLL), additional users can be appended to the file.
Syntax
MyRc = DumpAllUsers(dcName, dumpFile)
Parameters
The parameters specified are:
dcName The computer name of the domain controller
dumpFile The file name of the resulting binary file containing userid definitions
Note
The function copies userid definitions only into a binary file. The resulting binary file is intended to be used together with the InserAllUsers() function.
Example
/* Dump userid definitions to a binary file for safekeeping */ parse upper arg dumpFile if dumpFile = '' then dumpFile = 'C:\USERDEFS.BIN' dcName = '\\ILIDC' /* Get access to LSRXUT.DLL functions */ call RxFuncAdd 'LoadLsRxutFuncs', 'LSRXUT', 'LoadLsRxutFuncs' call LoadLsRxutFuncs McRc = DumpAllUsers(dcName, dumpFile) say 'DumpAllUsers() returned:' MyRc call DropLsRxutFuncs call RxFuncDrop 'LoadLsRxutFuncs' exit 0
Example Output
DumpAllUsers() returned: 0
Inf-HTML End Run - Successful