macOS / binaries /

nfs4mapid

/usr/sbin/nfs4mapid
Shows NFSv4 mappings from UIDs or GIDs to over the wire string names and string names to UIDs or GID

nfs4mapid uses a privileged nfs client system call to pass the translation request down to the kernel, so results will be the same as a request coming from an NFSv4 server. Because of this, nfs4mapid must be run with root privileges.

source: man