Reads information about a user from the password file. More...
#include <vul_user_info.h>
Public Types | |
typedef unsigned long | uid_type |
Public Member Functions | |
vul_user_info (uid_type u_id) | |
Lookup info from numeric user-id. | |
vul_user_info (char const *nam) | |
Lookup info from login name. | |
vul_user_info (vcl_string const &nam) | |
Lookup info from login name. | |
void | init (uid_type) |
NYI. | |
void | init (char const *nam) |
initialise vul_user_info for given login name. | |
Public Attributes | |
bool | ok |
uid_type | uid |
uid_type | gid |
vcl_string | name |
vcl_string | home_directory |
vcl_string | full_name |
vcl_string | shell |
vcl_string | passwd |
Reads information about a user from the password file.
Definition at line 22 of file vul_user_info.h.
typedef unsigned long vul_user_info::uid_type |
Definition at line 25 of file vul_user_info.h.
vul_user_info::vul_user_info | ( | uid_type | u_id | ) | [inline] |
Lookup info from numeric user-id.
Definition at line 39 of file vul_user_info.h.
vul_user_info::vul_user_info | ( | char const * | nam | ) | [inline] |
Lookup info from login name.
Definition at line 41 of file vul_user_info.h.
vul_user_info::vul_user_info | ( | vcl_string const & | nam | ) | [inline] |
Lookup info from login name.
Definition at line 43 of file vul_user_info.h.
void vul_user_info::init | ( | uid_type | ) |
NYI.
Definition at line 31 of file vul_user_info.cxx.
void vul_user_info::init | ( | char const * | nam | ) |
initialise vul_user_info for given login name.
Definition at line 36 of file vul_user_info.cxx.
vcl_string vul_user_info::full_name |
Definition at line 32 of file vul_user_info.h.
Definition at line 29 of file vul_user_info.h.
vcl_string vul_user_info::home_directory |
Definition at line 31 of file vul_user_info.h.
vcl_string vul_user_info::name |
Definition at line 30 of file vul_user_info.h.
bool vul_user_info::ok |
Definition at line 27 of file vul_user_info.h.
vcl_string vul_user_info::passwd |
Definition at line 34 of file vul_user_info.h.
vcl_string vul_user_info::shell |
Definition at line 33 of file vul_user_info.h.
Definition at line 28 of file vul_user_info.h.