Used to dynamically modify the current windows user with the value in the Identity property
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Function Impersonate() As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Impersonation
Dim value As Boolean
value = instance.Impersonate() |
C# | |
---|
public bool Impersonate() |
Return Value
True if success, false if failed
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also