win32profile.GetUserProfileDirectory

PyUnicode = GetUserProfileDirectory(Token)

Returns profile directory for a logon token

Parameters

Token : PyHANDLE

User token as returned by win32security::LogonUser