TTMSFNCWebPushDB.OnBeforeChangeUserActive Event
Occurs before a user active state changes and lets the handler veto the change.
API unit family: TMS.TMSFNCWebPushDB
Declaring type: TTMSFNCWebPushDB
Inherited from: TTMSFNCCustomWebPushDB
Syntax
OnBeforeChangeUserActive: TTMSFNCWebPushDBBeforeSubscriptionEvent;
Parameters
| Name | Description |
|---|---|
Sender |
The store that raised the event. |
ASubscription |
The subscription whose active state is about to change. |
AUserID |
The associated user identifier, when available. |
ABrowserID |
The associated browser or device identifier, when available. |
AAllow |
Set to False to cancel the state change. |