TekUser Class Reference

Inheritance diagram for TekUser:

Inheritance graph
[legend]
Collaboration diagram for TekUser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TekUser ()
 ~TekUser ()
virtual TEKERR put_TekUserInfo (struct TekUserInfo *SUInfo)=0
virtual TEKERR put_Description (const uchar_t *NewDescription)=0
virtual TEKERR get_Description (uchar_t **RetVal)=0
virtual TEKERR get_GroupID (gid_t *RetVal)=0
virtual TEKERR get_HomeDir (uchar_t **RetVal)=0
virtual TEKERR get_UserID (uid_t *RetVal)=0
virtual TEKERR get_Username (uchar_t **RetVal)=0
virtual TEKERR put_GroupID (gid_t NewGroupID)=0
virtual TEKERR put_HomeDir (const uchar_t *NewHomeDir)=0
virtual TEKERR put_Password (uchar_t *NewPassword)=0
virtual TEKERR put_UserID (uid_t NewID)=0
virtual TEKERR put_Username (const uchar_t *NewUsername)=0
virtual TEKERR Save ()=0

Detailed Description

This interface defines the standard for accessing information about a user.

This interface is INHERITABLE.

Author:
Kevin McBride

Definition at line 50 of file tekuser.h.


Constructor & Destructor Documentation

TekUser  ) 
 

Instantizer.

Definition at line 126 of file TekUser.cpp.

~TekUser  ) 
 

Destructor.

Definition at line 134 of file TekUser.cpp.


Member Function Documentation

TEKERR get_Description uchar_t **  RetVal  )  [pure virtual]
 

Retrieves a description, usually a real name, of the user in question.

Implemented in TekUserUnixRO, and TekUserUnixRW.

Definition at line 167 of file TekUser.cpp.

TEKERR get_GroupID gid_t *  RetVal  )  [pure virtual]
 

Retrieves the primary Group ID of the user in question.

Implemented in TekUserUnixRO, and TekUserUnixRW.

Definition at line 177 of file TekUser.cpp.

TEKERR get_HomeDir uchar_t **  RetVal  )  [pure virtual]
 

Retrieves the home directory of the user in question.

Implemented in TekUserUnixRO, and TekUserUnixRW.

Definition at line 187 of file TekUser.cpp.

TEKERR get_UserID uid_t *  RetVal  )  [pure virtual]
 

Retrieves the User ID of the user in question.

Implemented in TekUserUnixRO, and TekUserUnixRW.

Definition at line 197 of file TekUser.cpp.

TEKERR get_Username uchar_t **  RetVal  )  [pure virtual]
 

Retrieves the username of the user in question.

Implemented in TekUserUnixRO, and TekUserUnixRW.

Definition at line 207 of file TekUser.cpp.

TEKERR put_Description const uchar_t RetVal  )  [pure virtual]
 

Sets a description, usually a real name, of the user in question.

Implemented in TekUserUnixRO, and TekUserUnixRW.

Definition at line 157 of file TekUser.cpp.

TEKERR put_GroupID gid_t  NewGroupID  )  [pure virtual]
 

Sets the primary Group ID of the user in question.

Implemented in TekUserUnixRO, and TekUserUnixRW.

Definition at line 217 of file TekUser.cpp.

TEKERR put_HomeDir const uchar_t RetVal  )  [pure virtual]
 

Sets the home directory of the user in question.

Implemented in TekUserUnixRO, and TekUserUnixRW.

Definition at line 227 of file TekUser.cpp.

TEKERR put_Password uchar_t NewPassword  )  [pure virtual]
 

Sets the password of the user in question.

Implemented in TekUserUnixRO, and TekUserUnixRW.

Definition at line 237 of file TekUser.cpp.

TEKERR put_TekUserInfo struct TekUserInfo SUInfo  )  [pure virtual]
 

Sets a new set of user information into the instance.

Implemented in TekUserUnixRO, and TekUserUnixRW.

Definition at line 147 of file TekUser.cpp.

TEKERR put_UserID uid_t  RetVal  )  [pure virtual]
 

Sets the User ID of the user in question.

NOTE: Most interfaces won't ever allow setting the user id.

Implemented in TekUserUnixRO, and TekUserUnixRW.

Definition at line 249 of file TekUser.cpp.

TEKERR put_Username const uchar_t NewUsername  )  [pure virtual]
 

Sets a new username of the user in question.

Implemented in TekUserUnixRO, and TekUserUnixRW.

Definition at line 259 of file TekUser.cpp.

TEKERR Save  )  [pure virtual]
 

Saves the information to the provided TekUserDB.

Implemented in TekUserUnixRO, and TekUserUnixRW.

Definition at line 269 of file TekUser.cpp.


The documentation for this class was generated from the following files: SourceForge.net Logo  Technical Library Template Interface Project Page