vul_user_info Class Reference

#include <vul_user_info.h>

List of all members.

Detailed Description

Reads information about a user from the password file.

Definition at line 22 of file 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)
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

Member Typedef Documentation

typedef unsigned long vul_user_info::uid_type

Definition at line 25 of file vul_user_info.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void vul_user_info::init ( uid_type   ) 


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.

Member Data Documentation

bool vul_user_info::ok

Definition at line 27 of file vul_user_info.h.

uid_type vul_user_info::uid

Definition at line 28 of file vul_user_info.h.

uid_type vul_user_info::gid

Definition at line 29 of file vul_user_info.h.

vcl_string vul_user_info::name

Definition at line 30 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::full_name

Definition at line 32 of file vul_user_info.h.

vcl_string vul_user_info::shell

Definition at line 33 of file vul_user_info.h.

vcl_string vul_user_info::passwd

Definition at line 34 of file vul_user_info.h.

The documentation for this class was generated from the following files:
Generated on Mon Mar 8 05:09:58 2010 for core/vul by  doxygen 1.5.1