Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.31 KB

impersonation-and-asynchronous-calls.md

File metadata and controls

27 lines (18 loc) · 1.31 KB
title description ms.assetid ms.topic ms.date
Impersonation and Asynchronous Calls
Impersonation and Asynchronous Calls
7eaa0a66-7a80-4831-b0b6-b8eff4abd036
article
05/31/2018

Impersonation and Asynchronous Calls

The server cannot impersonate the client after the server's call to ISynchronize::Signal completes, even if the Begin_ method has not yet completed. For example, suppose a client calls the Begin_ method, the server processes the call immediately, and the server calls Signal to indicate it is finished processing. Even if work remains to be done in the Begin_ method, the server cannot impersonate the client after the call to Signal completes.

If the server impersonates the client before it calls Signal, the impersonation token will not be removed from the thread until the server calls IServerSecurity::RevertToSelf or until the server's call to Begin_ returns, whichever comes first.

Related topics

Delegation and Impersonation

Making an Asynchronous Call