0.9b (c) 1995 Peter Childs
Dump a userid specified 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.
This function copies a Userid definition to a binary file. The function is similar to the function DumpAllUsers().
Syntax
MyRc = DumpUser(dcName, dumpFile, userId)
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
userId The userid definition to dump into the binary file
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 a userid definition to a binary file for safekeeping */ parse upper arg dumpFile if dumpFile = '' then dumpFile = 'C:\USERDEFS.BIN' dcName = '\\ILIDC' userId = 'WS2221' /* Get access to LSRXUT.DLL functions */ call RxFuncAdd 'LoadLsRxutFuncs', 'LSRXUT', 'LoadLsRxutFuncs' call LoadLsRxutFuncs MyRc = DumpUser(dcName, dumpFile, userId) say 'DumpUser() returned:' MyRc call DropLsRxutFuncs call RxFuncDrop 'LoadLsRxutFuncs' exit 0
Example Output
DumpUser() returned: 0
Inf-HTML End Run - Successful