The following code examples show how to work with some of the user properties using the WinNT provider:
- Account Disabled (WinNT Provider)
- Account Expiration (WinNT Provider)
- Account Lockout (WinNT Provider)
- Object SID (WinNT Provider)
- Password Never Expires (WinNT Provider)
- User Cannot Change Password (WinNT Provider)
- User Must Change Password at Next Logon (WinNT Provider)
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
