cygwin_set_impersonation_token(3)

NAME
cygwin_set_impersonation_token

SYNOPSIS
extern "C" void
cygwin_set_impersonation_token (const HANDLE token);

DESCRIPTION
Use this function to enable the token given as parameter as impersonation token for the next call to setuid ( or seteuid (. Use cygwin_set_impersonation_token ( together with cygwin_logon_user ( to impersonate users using password authentication. See also the chapter "New setuid concept" in the Cygwin user's guide. See also cygwin_logon_user (3)

COPYRIGHT
Cygwin is Copyright (C) 1995-2010 Red Hat, Inc.

Cygwin is Free software; for complete licensing information, refer to: http://cygwin.com/licensing.html

SEE ALSO
The full documentation to the Cygwin API is maintained on the web at: http://cygwin.com/cygwin-api/cygwin-api.html The website is updated more frequently than the man pages and should be considered the authoritative source of information.