win32cred.CredUIParseUserName
(PyUnicode
, PyUnicode
) = CredUIParseUserName(UserName)
Parses a full username into domain and
username
Parameters
UserName : PyUnicode
Username as returned by win32cred::CredUIPromptForCredentialsReturn Value
Returns the username and domain