Inherit Property

See Also   Applies To

Sets or returns a value that indicates whether new CdbDocument objects will inherit a default Permissions property setting (Microsoft Jet workspaces only).

Syntax

VOIDSetInherit(BOOL bFlag);

BOOLGetInherit(VOID);

Parameters

Type Argument Description
BOOL bFlag If TRUE, CdbDocument objects inherit a default Permissions property setting.

Remarks

Use the Inherit property in conjunction with the Permissions property to define what permissions new documents will automatically have when they're created. If you set the Inherit property to True, and then set a permission on a container, then whenever a new document is created in that container, that permission will be set on the new document. This is a very convenient way of presetting permissions on an object.

Setting the Inherit property will not affect existing documents in the container—you can't modify all the permissions on all existing documents in a container by setting the Inherit property and a new permission. It will affect only new documents that are created after the Inherit property is set.