Converts from an operating-system-independent network name to a domain-specific user number (UID).
C Library (libc.a)
#include <rpc/rpc.h>
netname2user (name, uidp, gidp, gidlenp, gidlist)
char * name;
int * uidp;
int * gidp;
int * gidlenp;
int * gidlist;
The netname2user subroutine converts from an operating-system-independent network name to a domain-specific UID. This subroutine is the inverse of the user2netname subroutine.
Upon successful completion, this subroutine returns a value of 1. If unsuccessful, it returns a value of 0.
The host2netname subroutine, user2netname subroutine.
List of RPC Programming References.
Remote Procedure Call (RPC) Overview for Programming in AIX 5L Version 5.2 Communications Programming Concepts.