Retrieve local access control for incoming DECnet connection based on the specified user name.
#include <ws2dnet.h>
struct dnet_accent FAR * WSAAPI dnet_getacc(struct dnet_accent FAR *nacc )
nacc | Pointer to the incoming access control record. nacc.dac_username contains the user name. This ASCIZ character string has a maximum length of DN_MAXACCL. |
If successful, it returns a pointer to a dnet_accent structure. Applications should copy this data before issuing another dnet_getacc call. Otherwise, it returns a NULL pointer.