Converts from a domain-specific user ID to a network name that is independent from the operating system.
#include <rpc/rpc.h>
int user2netname (name, uid, domain) char *name; int uid; char *domain;
The user2netname subroutine converts from a domain-specific user ID to a network name that is independent from the operating system.
This subroutine is the inverse of the netname2user subroutine.
name | Points to the network name (or netname) of the server process owner. |
uid | Points to the caller's effective user ID (UID). |
domain | Points to the domain name. |
Upon successful completion, this subroutine returns a value of 1. If unsuccessful, it returns a value of 0.
This subroutine is part of Base Operating System (BOS) Runtime.
The host2netname subroutine, netname2user subroutine.
List of RPC Programming References.
Remote Procedure Call (RPC) Overview for Programming in AIX Communications Programming Concepts.