使用EWS API Exchange Server 2013更改电子邮件密码 [英] Change email password using EWS API exchange server 2013

查看:186
本文介绍了使用EWS API Exchange Server 2013更改电子邮件密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在密码到期前5天通知用户..我在服务器上找到了电子邮件帐户的到期日期,但现在我想创建一个页面来使用EWS托管API以编程方式更改密码..



任何人都可以帮我吗?



我尝试了什么:



我发现有效期但没有通过谷歌使用EWS API改变密码。

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.

推荐答案

iirc你不改变用户密码通过EWS - 为什么?因为它们没有存储在那里,它们存储在MS Active Directory中,所以你使用MS ADSI更改密码



你可能会发现这些链接很有用



调用ADSI方法 [ ^ ]



.NET开发人员目录服务用户帐户管理指南|寻找用户| InformIT [ ^ ]



Howto :(几乎)通过C#在Active Directory中的所有内容 [ ^ ]
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#[^]


这篇关于使用EWS API Exchange Server 2013更改电子邮件密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆