Navigation:  Functions > Enum Functions >

DaoPermissionEnum() Function

Previous pageReturn to chapter overviewNext page

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.

 

ConstantDescription        
dbSecNoAccessThe user doesn't have access to the object (not valid for Document objects).        
dbSecFullAccessThe user has full access to the object.        
dbSecDeleteThe user can delete the object.        
dbSecReadSecThe user can read the object's security-related information.        
dbSecWriteSecThe user can alter access permissions.        
dbSecWriteOwnerThe user can change the Owner property setting.        

 

The following table lists the possible settings and return values for the Tables container.

 

ConstantDescription        
dbSecCreateThe user can create new documents (not valid for Document objects).        
dbSecReadDefThe user can read the table definition, including column and index information.        
dbSecWriteDefThe user can modify or delete the table definition, including column and index information.        
dbSecRetrieveDataThe user can retrieve data from the Document object.        
dbSecInsertDataThe user can add records.        
dbSecReplaceDataThe user can modify records.        
dbSecDeleteDataThe user can delete records.        

 

The following table lists the possible settings and return values for the Databases container.

 

ConstantDescription        
dbSecDBAdminThe user can replicate a database and change the database password (not valid for Document objects).        
dbSecDBCreateThe 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.        
dbSecDBExclusiveThe user has exclusive access to the database.        
dbSecDBOpenThe user can open the database.        

 

 

Returns

Array

 

See Also

DaoEnum2Str()