Details
Wants to obtain the event when the user clicks Offline switch and not to make it Offline environment.
Solution
There is a preference "SEEC_Enable_WorkOffline" on Teamcenter which can control the offline switch.
If this preference is set to 0, the switch would be disabled and user would not be able to switch to offline mode.
Create above preferences on Teamcenter side based on User/Group/Role and control the access to the switch.
Hardware/Software Configuration
Platform: INTL64
OS: window
OS Version: 764SP1
Product: SOLID_EDGE
Application: DOC_MANAGEMENT
Version: V109MP12
Function: SEEC
Ref: 001-9053785