Book a Demo

Author Topic: C# event for apply user lock  (Read 4125 times)

magicscreen

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
C# event for apply user lock
« on: May 26, 2016, 06:16:28 pm »
I need something to do in my C# Add-in when a user is executing the Apply User Lock... command from the menu. Is there any event for this?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: C# event for apply user lock
« Reply #1 on: May 26, 2016, 06:45:52 pm »
I guess not, since that would mean the database tells each client "hey, I got a lock". You could write a database trigger.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: C# event for apply user lock
« Reply #2 on: May 26, 2016, 07:03:06 pm »
No, there's currently no event hook for that event.
You might want to ask for it in a feature request
I had some use cases for it in the past as well.

Geert