20.4 Inherited Rights Mask Values

inheritanceGrantMask and inheritedRightsMask can have the following values:

C Value

Delphi Value

Value Name

Value Description

0x00

$00

TA_NONE

Specifies no Reads or Writes are allowed.

0x01

$01

TA_READ

Specifies file Reads are allowed.

0x02

$02

TA_WRITE

Specifies file Writes are allowed.

0x08

$08

TA_CREATE

Specifies files can be created.

0x10

$10

TA_DELETE

Specifies files can be deleted.

0x20

$20

TA_OWNERSHIP

Specifies subdirectories can be created or deleted and trustee rights granted or revoked.

0x40

$40

TA_SEARCH

Specifies the directory can be searched.

0x80

$80

TA_MODIFY

Specifies file attributes can be modified.

0xFB

$FB

TA_ALL

Specifies the trustee has all the above rights to the directory.