Returns the effective rights (inherited or explicit) an eDirectory object has to a given file or directory.
#include <zPublics.h> STATUS zGetEffectiveRights( Key_t key, GUID_t objId, NINT *effectiveRights);
(IN) Specifies the file or directory to which effective rights are to be returned, as created by zOpen or zCreate.
(IN) Specifies the eDirectory object for which the effective rights are returned.
NOTE:This object ID is the value of the GUID eDirectory property for the object for which the effective rights are to be returned. This value is not the same ID that is used by traditional file system functions that return an object's effective rights.
(OUT) Returns the effective rights for the specified object.
zOK |
The operation completed successfully. |
non-0 |
An error occurred (see Section 4.1, Return Values for a description). |