Re: Monitor user changes
From: Don Grover (dgrover_at_assoft.com.au)
Date: 02/10/05
- Next message: Jason: "using logins"
- Previous message: Sue Hoegemeier: "Re: Monitor user changes"
- In reply to: Sue Hoegemeier: "Re: Monitor user changes"
- Next in thread: Uri Dimant: "Re: Monitor user changes"
- Reply: Uri Dimant: "Re: Monitor user changes"
- Reply: Sue Hoegemeier: "Re: Monitor user changes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 10 Feb 2005 16:48:21 +1100
Sorry Sue
I actually mean't users logins, not user data
ie: I actually want to monitor if any more users have been add, deleted or
edited on/to any database.
I have this msql server that I need to monitor remotely by script/email when
any user/login changes are made
Regards
Don
"Sue Hoegemeier" <Sue_H@nomail.please> wrote in message
news:krkl01l9jsi45m3ji0bn25ufpbr358j6sb@4ax.com...
> You can use a trigger on the tables you want to audit. Just
> look at the values in the deleted and inserted tables used
> by the triggers for before and after images of the rows. You
> can capture the date with GetDate() and the user with
> suser_sname. And then just insert that data into your audit
> table.
> You can find an example of this in the following article:
> http://www.aspfaq.com/show.asp?id=2448
>
> -Sue
>
> On Thu, 10 Feb 2005 07:53:50 +1100, "Don Grover"
> <dgrover@assoft.com.au> wrote:
>
>>I need to monitor sql user additions and changes and put login name and
>>change date into a user created table.
>>Is ther anyway I can do this from a trigger or sp.
>>
>>Regards
>>Don Grover
>>
>
- Next message: Jason: "using logins"
- Previous message: Sue Hoegemeier: "Re: Monitor user changes"
- In reply to: Sue Hoegemeier: "Re: Monitor user changes"
- Next in thread: Uri Dimant: "Re: Monitor user changes"
- Reply: Uri Dimant: "Re: Monitor user changes"
- Reply: Sue Hoegemeier: "Re: Monitor user changes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|