zGetInheritedRightsMask

Returns the Inherited Rights Mask for the given file object.

Service:File System Services (64-Bit)
Version:OES 2

Syntax

#include <zPublics.h>

STATUS zGetInheritedRightsMask(
   Key_t  key,
   LONG  *retInheritedRightsMask);

Parameters

key

(IN) Specifies the file object (as returned by Returned by zOpen or zCreate) whose inherited rights mask will be retrieved.

retInheritedRightsMask

(OUT) Points to the inherited rights mask for the file object (see Inherited Rights Mask Values).

Return Values

zOK

The operation completed successfully.

non-0

An error occurred (see Section 4.1, Return Values for a description).

Remarks

The inherited rights mask controls which rights are inherited down the directory tree. Rights do not inherit across junctions, symbolic links, or URL links.

See Also

zAddTrustee, zClose, zCreate, zDeleteTrustee, zOpen, zGetTrustee, zSetInheritedRightsMask