This example will show you how to disable the update event action of users. The example will use OnClientBeforeUpdateEvent to catch and approve the update event action.
*Note: This method is simple and fast way to handle events. However, for handling event more securely, you may use server-side event such as OnBeforeUpdateEvent.