user_account.cpp
Go to the documentation of this file.
00001 
00011 #include <rmscpp/users/user_accounts/user_account.h>
00012 
00013 using namespace std;
00014 using namespace rms;
00015 
00016 user_account::user_account(int uid, string username, string fname, string lname, string email,
00017                            USER_ACCOUNT_TYPE type)
00018 {
00019   // assign the fields
00020   this->uid = uid;
00021   this->username = username;
00022   this->fname = fname;
00023   this->lname = lname;
00024   this->email = email;
00025   this->type = type;
00026 }
00027 
00028 int user_account::get_userid()
00029 {
00030   return uid;
00031 }
00032 
00033 string user_account::get_username()
00034 {
00035   return username;
00036 }
00037 
00038 string user_account::get_firstname()
00039 {
00040   return fname;
00041 }
00042 
00043 string user_account::get_lastname()
00044 {
00045   return lname;
00046 }
00047 
00048 string user_account::get_email()
00049 {
00050   return email;
00051 }
00052 
00053 USER_ACCOUNT_TYPE user_account::get_type()
00054 {
00055   return type;
00056 }


rmscpp
Author(s): Russell Toris
autogenerated on Sat Dec 28 2013 17:08:57