Purpose
Returns a 2-dimensional array with all the values of the Permission Enum.
Description
Every row in this array has 2 values:
• | The numeric value of the Enum value |
• | A text representation of this value |
This array can be used to validate values, and to print a ,meaningful description of the values during debugging
You can pass this array tro the DaoEnum2Str() function to convert the value of an Enum to a string
The following table lists possible values for Container objects other than Tables and Databases containers.
Constant | Description |
dbSecNoAccess | The user doesn't have access to the object (not valid for Document objects). |
dbSecFullAccess | The user has full access to the object. |
dbSecDelete | The user can delete the object. |
dbSecReadSec | The user can read the object's security-related information. |
dbSecWriteSec | The user can alter access permissions. |
dbSecWriteOwner | The user can change the Owner property setting. |
The following table lists the possible settings and return values for the Tables container.
Constant | Description |
dbSecCreate | The user can create new documents (not valid for Document objects). |
dbSecReadDef | The user can read the table definition, including column and index information. |
dbSecWriteDef | The user can modify or delete the table definition, including column and index information. |
dbSecRetrieveData | The user can retrieve data from the Document object. |
dbSecInsertData | The user can add records. |
dbSecReplaceData | The user can modify records. |
dbSecDeleteData | The user can delete records. |
The following table lists the possible settings and return values for the Databases container.
Constant | Description |
dbSecDBAdmin | The user can replicate a database and change the database password (not valid for Document objects). |
dbSecDBCreate | The user can create new databases. This option is valid only on the Databases container in the workgroup information file (Systen.mdw). This constant isn't valid for Document objects. |
dbSecDBExclusive | The user has exclusive access to the database. |
dbSecDBOpen | The user can open the database. |
Returns
Array
See Also