AdoRightsEnum() Function

<< Click to Display Table of Contents >>

Navigation:  Enums >

AdoRightsEnum() Function

Previous pageReturn to chapter overviewNext page

Purpose

All the values of the RightsEnum:

The type of action to be performed when SetPermissions is called.

 

Prototype

 

FUNCTION AdoRightsEnum (  )  AS ARRAY

Return

ARRAY        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 to the AdoEnum2Str() function to convert the value of an Enum to a string

 

Description

 

List of possible values

 

adRightNone 0        No permissions for the object.
adRightExecute (0x20000000)        Permission to execute the object.
adRightRead (0x80000000)        Permission to read the object. For objects such as Tables, the user has permission to read the data in the table.
adRightUpdate (0x40000000)        Permission to update the object. For objects such as Tables, the user has permission to update the data in the table.
adRightInsert (0x8000)        Permission to insert the object. For objects such as Tables, the user has permission to insert data into the table.
adRightDelete (0x10000)        Permission to delete data from an object. For objects such as Tables, the user has permission to delete data values from records.
adRightReference (0x2000)        Permission to reference the object.
adRightCreate (0x4000)        Permission to create new objects of this type.
adRightWithGrant (0x1000)        Permission to grant permissions on the object.
adRightReadDesign (0x400)        Permission to read the design for the object.
adRightWriteDesign (0x800)        Permission to modify the design for the object.
adRightWriteOwner (0x80000)        Permission to modify the owner of the object.
adRightFull (0x10000000)        All permissions on the object.
adRightExclusive (0x200)        Permission to access the object exclusively.
adRightMaximumAllowed (0x2000000)        The maximum number of permissions allowed by the provider. Specific permissions are provider-dependent.
adRightDrop (0x100)        Permission to remove objects from the catalog.
adRightReadPermissions (0x20000)        View, but not change, the specific permissions for an object in the catalog.
adRightWritePermissions (0x40000)        Can modify the specific permissions for an object in the catalog.

 

See Also

Enums, AdoEnum2Str(), AdoStr2Enum()