session level trigger?

  • Hi,

    Is any possibility to create a session level trigger where run every time an instance of sql server is open. I am trying to read there what user is connected and only to some of them to allo to view my database


    Daniela

  • Daniela,

    You would like to use SQL Server Profiler and create a Trace for the Security Audit events: Audit Login, Audit Logout and Audit Login Failed.

    Regards,Yelena Varsha

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply