Click here to Skip to main content
15,886,137 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to notify user 5 days before his password going to expiry.. I found the expiry date of email account on server but now i want to create a page to change password programatically using EWS Managed API..

Can anyone help Me?

What I have tried:

I Found expiry date but not getting any way to change password using EWS API from google.
Posted
Updated 14-Apr-16 19:54pm

1 solution

iirc you dont change user passwords through EWS - why? because they are not stored there, they are stored in MS Active Directory, so you use MS ADSI to change the password

you may find these links helpful

Invoking ADSI Methods[^]

The .NET Developer's Guide to Directory Services User Account Management | Finding Users | InformIT[^]

Howto: (Almost) Everything In Active Directory via C#[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900