NWSetAuditingIdentity
Links the current thread group to a workstation address and a user name
#include <nlm\nwtypes.h> #include <nwaudnlm.h> int NWSetAuditingIdentity ( LONG addressType, BYTE *networkAddress, char *identityName);
Te NWSetAuditingIdentitys function links the current thread group to a workstation address and a user name. The F2 audit specification for security auditing requires that the audit trail events identify the user name and the workstation address of the event initiator. NLM developers can use this function to ensure F2 auditing compliance. The auditing identity is tracked on a thread group basis; therefore, all threads in a thread group are audited as the single identity set by this function.