The ability of a user to change their password is a permission that can be granted or denied. For more information about programmatically reading and modifying this permission using the WinNT provider, see:
- Reading User Cannot Change Password (WinNT Provider)
- Modifying User Cannot Change Password (WinNT Provider)
The userFlags attribute of the user object is only available when using the WinNT provider.
It is also possible to read and modify this permission using the LDAP provider. For more information, see User Cannot Change Password (LDAP 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.
