Description

This event is fired before an identity is reset.

Syntax

Private Sub object_BeforeIdentityChanged(Identity, Changes, Cancel)

The BeforeIdentityChanged Event syntax has these parts:

PartDescription
objectA McApplication object.
IdentityA McIdentity object.

McIdentity* : The identity being reset.

ChangesA mcIdentityChanges enumeration, as described in settings.

mcIdentityChanges : Changes made to this identity.

CancelA Boolean value.

VARIANT_BOOL : Set to TRUE to cancel the identity reset.

Settings

The settings for Changes are:

ConstantValueDescription
 mcicNone0
 mcicResetSettings1
 mcicResetMenus2
 mcicResetLayout4
 mcicResetAll7
 mcicPropertyChange8
 mcicDelete16
 mcicPassword32
 mcicNew64

Remarks

Clients can cancel the identity reset at this point.