win32cred.CredUICmdLinePromptForCredentials
(PyUnicode, PyUnicode, boolean) = CredUICmdLinePromptForCredentials(TargetName, AuthError , UserName , Password , Save , Flags )
Prompt for username/passwd from a console app
Parameters
Comments
The command-line version of this function does not accept certificates, so Flags must contain CREDUI_FLAGS_EXCLUDE_CERTIFICATES or CREDUI_FLAGS_REQUIRE_SMARTCARD
Return Value
Returns the username and password entered, and a boolean indicating if credential was saved