File 'net/adb.cls' (part of 'Pool_Net')
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
Class 'aDB'
add (usrName pwd storage)
|
|
Argument: usrName
|
The name of the user defined here.
|
Argument: pwd
|
Password given to the user.
|
Argument: storage
|
symbolic reference to the maildrop of user usrName. Usable for a storage system only.
|
isRegistered (usrName)
|
|
Argument: usrName
|
The name of the user to check for.
|
lookup (usrName)
|
Overrides userdbBase:lookup
|
Argument: usrName
|
Name of the user to query for.
|
Returns: a 2-element list containing password and storage reference for user usrName, in this order.
|
read (file)
|
|
Notes: The name of the file is remembered internally, and used by save (if called without or empty argument).
|
Argument: file
|
The name of the file to read.
|
remove (usrName)
|
|
Argument: usrName
|
The name of the user to remove.
|
rename (usrName newName)
|
|
Argument: usrName
|
The name of the user to rename.
|
Argument: newName
|
The new name to give to the user
|
save (file)
|
|
Argument: file (= {})
|
The name of the file to write to. If it is not specified, or as empty, the value of the member variable externalFile is used instead.
|
who ()
|
|
Returns: A list containing the names of all registered users.
|
- user
- The in-memory database. It is indexed by user names and maps them to 2-element lists containing the associated password and storage reference, in this order.
- externalFile
- The name of the last file used as argument to read. Used by save if called without or empty argument.
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
Generated by AutoDoc 2.4 at 09/14/2000, invoked by Andreas Kupries