Beginning with OES 2015, the zNW_metadata2_s Xattr structure has been added XAttr NDK to support both Active Directory and eDirectory identities.
typedef struct zNW_metadata2_s { WORD nwm_byteorder; WORD nwm_version; WORD nwm_trustee_more; WORD nwm_reserved_1; QUAD nwm_modify_mask; QUAD nwm_file_attributes; QUAD nwm_file_attributes_mask; QUAD nwm_time_created; QUAD nwm_time_archived; QUAD nwm_time_modified; QUAD nwm_time_accessed; QUAD nwm_time_meta_data_modified; QUAD nwm_reserved_2; zNW_user_s nwm_id_owner; zNW_user_s nwm_id_archiver; zNW_user_s nwm_id_modifier; zNW_user_s nwm_id_metadata_modifier; SQUAD nwm_quota_limit; LONG nwm_inherited_rights_mask; LONG nwm_trustee_num; zNW_trustee2_s nwm_trustee[zMAX_TRUSTEES2]; } zNW_metadata2_s;
Specifies the byte order of the structure.
Specifies the version of the structure.
This is reserved for future use, and it can be ignored for now.
Is reserved. Set to 0.
Specifies the attributes (and corresponding fields in this structure) to modify. For possible values, see Section 4.2, Modify Mask Values.
Specifies the NSS file attributes. For possible values, see Section 4.1, File Attribute Values.
Specifies the NSS file attributes to modify.
Specifies the UTC time when the file was created.
Specifies the UTC time when the file was last archived.
Specifies the UTC time when the file was last modified.
Is no longer used. Currently, it is set to zero and nwm_modify_mask clears the zMOD_ACCESSED_TIME bit.
Specifies the UTC time when the file’s metadata was last modified.
Is reserved. Set to 0.
Specifies the ID of the person who currently owns the file.
Specifies the ID of the person who last archived the file.
Specifies the ID of the person who last modified the file.
Specifies the ID of the person who last modified the file’s metadata.
Specifies the quota limit that is currently assigned to the file.
Specifies the inherited rights to return for the file.
Specifies the number of the file’s trustee.
Points to the zNW_trustee2_s structure, which contains trustee rights and ID information.
zMAX_TRUSTEES2 is defined as 740 that signifies the number of trustees that can be accommodated in the zNW_metadata2_s structure.
#define zMAX_TRUSTEES2 740