win32cred.CredGetTargetInfo

dict = CredGetTargetInfo(TargetName, Flags )

Determines type and location of credential target

Parameters

TargetName : PyUnicode

Name of server that is target of stored credentials

Flags=0 : int

CRED_ALLOW_NAME_RESOLUTION, or 0

Comments

The target information will not be available until an attempt is made to authenticate against it

Return Value

Returns a PyCREDENTIAL_TARGET_INFORMATION dict