Visual Basic (Declaration) | |
---|---|
Public Event ImpersonateUser As ImpersonateEventHandler |
C# | |
---|---|
public event ImpersonateEventHandler ImpersonateUser |
The event handler receives an argument of type ImpersonateEventArgs containing data related to this event. The following ImpersonateEventArgs properties provide information specific to this event.
Property | Description |
---|---|
EffectiveIdentity | |
Identity | |
IdentityValidationError | |
NewIdentity | |
UserTokenPolicy |
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family