Link to home
Start Free TrialLog in
Avatar of lapucca
lapucca

asked on

Which UserPrincipal property to set after enabling an AD user account so that user have to change the log in password?

Hi, I'm using VS2012.

In my code, after enabling a disabled user account, I also set the password to a default password.  Which attribute and how to set it so that user would need to change their password after they log in?

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of SreRaj
SreRaj
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Check User must change password at next logon

User generated image
Avatar of lapucca
lapucca

ASKER

Performing this by code.