Skip to content

Latest commit

 

History

History
82 lines (29 loc) · 1.49 KB

PyNET.md

File metadata and controls

82 lines (29 loc) · 1.49 KB

PyNET

PyNET_VALIDATE_AUTHENTICATION_INPUT_ARG Object

A dictionary or tuple passed as input to win32net::NetValidatePasswordPolicy

Parameters

  • InputPersistedFields=None : NET_VALIDATE_PERSISTED_FIELDS

  • PasswordMatched=0 : int

PyNET_VALIDATE_PASSWORD_CHANGE_INPUT_ARG Object

A dictionary or tuple passed as input to win32net::NetValidatePasswordPolicy

Parameters

  • InputPersistedFields=None : NET_VALIDATE_PERSISTED_FIELDS

  • ClearPassword=None : PyUnicode

  • UserAccountName=None : PyUnicode

  • HashedPassword=None : buffer

    A string or anything else holding bytes.

  • PasswordMatch=0 : int

    Note MSDN incorrectly documents this member as PasswordMatched

PyNET_VALIDATE_PERSISTED_FIELDS Object

A dictionary returned by win32net::NetValidatePasswordPolicy

Comments

Note that these fields will only appear if the PresentFields

structure element indicates the fields are valid. Thus, the result

dictionary may contain none, all, or any combination of these.

Parameters

  • PasswordLastSet : PyTime

  • BadPasswordTime : PyTime

  • LockoutTime : PyTime

  • BadPasswordCount : int

  • PasswordHistoryLength : int

  • PasswordHistory : None/string