c# - Get Maximum Password Age maxPwdAge from LDAP Active Directory connection in asp.net mvc -
how retrieve maxpwdage properties ldap active directory connection in asp.net mvc? hoping use system.web.security as possible.
i have added membership web.config. need know how instantiate ldap activedirectory object in controller can object properties contains maxpwdage.
<membership defaultprovider="admembershipprovider"> <providers> <clear /> <add name="admembershipprovider" type="system.web.security.activedirectorymembershipprovider" connectionstringname="adconnectionstring" attributemapusername="xxxxxxxx" connectionusername="xxx\xxxxxxx" connectionpassword="xxxxxxxx"/> </providers> </membership>
Comments
Post a Comment