CdbContainer::SetPermissions, GetPermissions Property

Sets or returns a value that establishes the permissions for the user or group identified by the UserName property of a Container or Document object (Microsoft Jet workspaces only).

Syntax

VOIDSetPermissions(LONG l);

LONGGetPermissions(VOID);

Set Parameters

Type Example Description
LONG l A Long that contains values as listed in Remarks.

Remarks

The following are valid values:

Constant Description
dbSecNoAccess The user doesn't have access to the object.
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.