title: MVC Accessing Logged in User from a Model
body: <p>I have a model which has the CRUD View. When a user inserts data into the database I would like to automatically add two pieces of information. The User who added the information and the Timestamp. Now the Timestamp is easy enough but I am having problems with the User.</p>
  
  <p>I thought about accessing the Current Logged In User within the Model itself which I have not found a way of doing yet. Or perhaps (not tried yet - just thought about it) populating a hidden field in the View with the user's details.</p>
  
  <p>To me having the data in the model would seem more secure than in the view which can be manipulated by the end user; which I don't think can happen with the model.</p>
  
  <p>Anyway - the Questionw:
  1) Should I have the AddedBy property in the Model set to the Username within the model or within the view?</p>
  
  <p>2) If it should be done within the model ... how can I access the User's data?</p>
  
  <p>Thanks.</p>