user-info.eclass
Functions
- egetent <database> <key>
 - 
            
Small wrapper for getent (Linux), nidump (< Mac OS X 10.5), dscl (Mac OS X 10.5), and pw (FreeBSD) used in enewuser()/enewgroup().
Supported databases: group passwd Warning: This function can be used only in pkg_* phases when ROOT is valid.
 - egetusername <uid>
 - 
            
Gets the username for given UID.
 - egetgroupname <gid>
 - 
            
Gets the group name for given GID.
 - egethome <user>
 - 
            
Gets the home directory for the specified user.
 - egetshell <user>
 - 
            
Gets the shell for the specified user.
 - egetcomment <user>
 - 
            
Gets the comment field for the specified user.
 - egetgroups <user>
 - 
            
Gets all the groups user belongs to. The primary group is returned first, then all supplementary groups. Groups are ','-separated.
 
Reporting Bugs
Please report bugs via https://bugs.gentoo.org/