If you'll notice, the method below has the same signature as the highlighted area of the above image. The method name does not matter. You could call it TimsMethod as long as the signatures are the same.
Public Shared Sub (ByVal sender As Object, ByVal e As EventArgs)
or
public static void (object sender, EventArgs e)
Thanks
You would then do the same thing for the AfterSessionLock. When you create the "YourMethodHandler" method, just make sure the signature is the same as the event (has the same number of parameters and types of parameters). It would just be a Sub.
If you can't determine the signature of the method let me know and I will post it for you. I can't remember it off of the top of my head.
User 1 is currently logged in on a workstation and performs a session lock (F11). User 2 enters their login credentials in the locked session and becomes the active user. What happens to user 1, are they logged out?
- Can I prevent this from happening by adding code somewhere? I only want to allow the original user access to the locked session, (except for maybe the administrator or security admin). My menu is built based on user permissions and I am having problems because user 2 should see some of the menu options available to user 1.
Tim