win32security.LogonUserEx
(PyHANDLE, PySID, str, dict) = LogonUserEx(Username, Domain , Password , LogonType , LogonProvider )
Log a user onto the local machine,
Parameters
Comments
Requires Windows XP or laterAccepts keyword args
Return Value
Returns access token, logon sid, profile buffer, and process quotas. Format of the profile buffer is not known, so returned object is subject to change.