win32cred.CredReadDomainCredentials

(dict,...) = CredReadDomainCredentials(TargetInfo, Flags )

Retrieves credentials for a domain or server

Parameters

TargetInfo : dict

PyCREDENTIAL_TARGET_INFORMATION identifying a domain or server. At least one of the Names is required.

Flags=0 : int

CRED_CACHE_TARGET_INFORMATION is only valid flag

Return Value

Returns a sequence of PyCREDENTIAL dicts