cygwin_logon_user(3) Programmer's Manual cygwin_logon_user(3)NAMEcygwin_logon_userSYNOPSIS
extern "C" HANDLE
cygwin_logon_user (const struct passwd * passwd_entry, const char *
password);
DESCRIPTION
Given a pointer ot a passwd entry of a user and a cleartext password,
returns a HANDLE to an impersonation token for this user which can be
used in a subsequent call to cygwin_set_impersonation_token (to imper‐
sonate that user. This function can only be called from a process
which has the required NT user rights to perform a logon. See also the
chapter "New setuid concept" in the Cygwin user's guide. See also cyg‐
win_set_impersonation_token (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.
Cygwin April 2010 cygwin_logon_user(3)