Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Impersonates the user account with the value in the WindowsIdentity property.
Namespace: Microsoft.WindowsServerSolutions.Users
Assembly: UserObjectModel (in UserObjectModel.dll)
Syntax
public WindowsImpersonationContext Impersonate()
public:
WindowsImpersonationContext^ Impersonate()
Public Function Impersonate As WindowsImpersonationContext
Return Value
Type: System.Security.Principal.WindowsImpersonationContext
An instance of WindowsImpersonationContext.
See Also
UserIdentity Class
Microsoft.WindowsServerSolutions.Users Namespace
Return to top