dict = CredRename(OldTargetName, NewTargetName
, Type
, Flags
)
Changes the target name of stored credentials
Parameters
OldTargetName : PyUnicode
The target of credential to be renamedNewTargetName : PyUnicode
New target for the specified credentialType : int
Type of the credential to be renamed (CRED_TYPE_*)Flags=0 : int
Reserved, use only 0
Comments
CRED_FLAGS_USERNAME_TARGET credentials can't be renamed since their TargetName and Username must be equal