Rough implementation of impersonation.
This commit is contained in:
@@ -39,7 +39,10 @@ namespace NSspi.Contexts
|
||||
|
||||
protected virtual void Dispose( bool disposing )
|
||||
{
|
||||
|
||||
if( disposing && this.server != null && this.server.Disposed == false )
|
||||
{
|
||||
this.server.RevertImpersonate();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user