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

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -