Navigation:  DAO Object Classes > DaoContainer Class >

DaoContainer:Permissions Access/Assign

Previous pageReturn to chapter overviewNext page

Purpose

A long value Establishes permissions for User or Group given by the UserName property

 

For a Container object other than Tables and Databases containers, any of the following constants are available

 

ConstantThe User

 

dbSecNoAccessDoes not have access to the object (not valid for Document objects).
dbSecFullAccessHas full access to the object.
dbSecDeleteCan delete the object.
dbSecReadSecCan read the object's security-related information.
dbSecWriteSecCan alter access permissions.
dbSecWriteOwnerCan change the Owner property setting

 

For a Container object for the Tables container, any of the following constants are available

 

ConstantThe User Can

 

dbSecCreateCreate new documents (not valid for Document objects).
dbSecReadDefRead the table definition, including column and index information.
dbSecWriteDefModify or delete the table definition, including column and index information.
dbSecRetrieveDataRetrieve data from the Document object.
dbSecInsertDataAdd records.
dbSecReplaceDataModify records.
dbSecDeleteDataDelete records.

 

For a Container object for the Databases container, any of the following constants are available

ConstantThe User

 

dbSecDBAdminCan replicate a database and change the database password (not valid for Document objects).
dbSecDBCreateCan 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.
dbSecDBExclusiveHas exclusive access to the database.
dbSecDBOpenCan open the database

 

Class

DaoContainer        

 

Example

Container sample