Set Need To Change Password In Code

Are you saying that ther is no way of setting the login property for this via the api?