开发者

How to get expired date of user domain

My application (C#) use user & password domain to authorise when user login, domain has max password age policy, i want notify to user number of day will expire their password (like when login to windows). Can I do that if i don't have domain admin account.

P/s : i'm using UserPrincipal to verify user & password d开发者_运维技巧omain.


Yes you can do it, here is How Long Until My Password Expires? article from Microsoft.

JP

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜