.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH RtlImpersonateSelf 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBRtlImpersonateSelf\fR (NTDLL.@) .SH SYNOPSIS NTSTATUS RtlImpersonateSelf ( SECURITY_IMPERSONATION_LEVEL \fIImpersonationLevel\fR ) .SH DESCRIPTION .PP Makes an impersonation token that represents the process user and assigns to the current thread. .SH PARAMS \fIImpersonationLevel\fR \fB[In]\fR Level at which to impersonate. .PP .SH RETURNS .PP \fBSuccess:\fR \fBSTATUS_SUCCESS\fR. .PP \fBFailure:\fR \fBNTSTATUS\fR code. .SH IMPLEMENTATION .PP Declared in \fB"winternl.h"\fR. .PP Implemented in \fB"dlls/ntdll/sec.c"\fR. .PP Debug channel \fB"ntdll"\fR.