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
精彩评论