Description

This event is fired when the active identity is about to change.

Syntax

Private Sub object_BeforeActivateIdentity(NewIdentity, Cancel)

The BeforeActivateIdentity Event syntax has these parts:

PartDescription
objectA McApplication object.
NewIdentityA McIdentity object.

McIdentity* : The currently active identity, to be deactivated.

CancelA Boolean value.

VARIANT_BOOL* : Set to true to cancel the activation.

Remarks

This is the last chance for clients to save their settings before the new identity gets activated.