version 2004
USERS TO BLOB (users)
Parameter | Type | Description | |
users | BLOB | BLOB that must contain users | |
User accounts (encrypted) |
Description
The USERS TO BLOB command stores in the BLOB users the list of all user accounts and database groups created by the Aministrator.
Only the database Administrator or the Designer can execute this command. If another user attempts to execute it, the command does nothing and a privilege error (-9949) is generated.
The generated BLOB is automatically encrypted and can only be read using the BLOB TO USERS command. You can store this BLOB in a file on your hard disk or in a field.
This command is the equivalent of recording groups and users from the Toolbar. The only difference is that it allows the storing of user accounts in a BLOB field and not just in a file.
This concept allows you to keep a backup of users in the database data and, as such, implements a backup mechanism as well as a system to automatically load users in case of a database structure file update (information related to user accounts are stored by 4th Dimension in the database structure file).
See Also