ImpersonateSelf(3w)

ImpersonateSelf3w

Usage

BOOL ImpersonateSelf
(
SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
)

Overview

Makes an impersonation token that represents the process user and assigns to the current thread.

Params

ImpersonationLevel [In] Level at which to impersonate.

Returns

Success: TRUE.

Failure: FALSE.

Implementation

Declared in "winbase.h".

Implemented in "dlls/advapi32/security.c".

Debug channel "advapi".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.