How to get LastActivityDate when using Active Directory Setup in a .net application

Posted by user320587 on Stack Overflow See other posts from Stack Overflow or by user320587
Published on 2010-04-23T20:18:28Z Indexed on 2010/04/23 20:23 UTC
Read the original article Hit count: 286

Hi, I have a requirement to show a list of all users along with the Last Activity Date. The application is .Net based.

I found the MemberShip class provides the Last Activity date. However, this does not work when the MemberShip provider is ActiveDirectory Link to MSDN page because the ActiveDirectoryMemberShipUser does not implement the LastActivityDate property.

Is there any workaround or other way, I can get the LastActivityDate of the user in the application.

Thanks for any info

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about active-directory