Flags that control the behavior of the user account.
This attribute value can be zero or a combination of one or more of the following values.
Note You cannot assign the permission settings of PASSWD_CANT_CHANGE by directly modifying the UserAccountControl attribute. For more information and a code example that shows how to prevent a user from changing the password, see User Cannot Change Password.
Send comments about this topic to Microsoft
Build date: 11/1/2007