Beginning with OES 2015, the zNW_user_s structure has been added to the XAttr NDK, and it contains the identity information and its type: Active Directory or eDirectory.
typedef struct zNW_user_s {
LONG is_aduser;
zNW_id_u id;
} zNW_user_s;
Specifies whether the user is an Active Directory user or not.
Specifies the user ID.