New Posts New Posts RSS Feed: Storing creation/modification user
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Storing creation/modification user

 Post Reply Post Reply
Author
Engo View Drop Down
Newbie
Newbie


Joined: 20-Sep-2011
Posts: 6
Post Options Post Options   Quote Engo Quote  Post ReplyReply Direct Link To This Post Topic: Storing creation/modification user
    Posted: 20-Sep-2011 at 12:17pm
I am currently trying to build an application where we want to store the last modification/creation user in a database column for nearly every table. I tried to solve this problem by using the attribute interception but I could not find a way to get the user information there. Maybe there is a better way if I want to store login information in a table before it is written to the database.
Back to Top
sbelini View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options Post Options   Quote sbelini Quote  Post ReplyReply Direct Link To This Post Posted: 26-Sep-2011 at 10:50am
Hi Engo,

I think you are talking about auditing entities.

There is a forum post that addresses the possible situations. You will find it at http://www.ideablade.com/forum/forum_posts.asp?TID=2717&KW=audit&PID=10923&title=auditing-inserts-with-identity-columns#10923.

Regards,
   Silvio.
Back to Top
Engo View Drop Down
Newbie
Newbie


Joined: 20-Sep-2011
Posts: 6
Post Options Post Options   Quote Engo Quote  Post ReplyReply Direct Link To This Post Posted: 29-Sep-2011 at 4:57am
Thanks, this was exactly what I was looking for.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down