LDAP Query to check user is ACtive RRS feed

  • Question

  • Hi,

    Can anyone tell me what check should i do to know whether user is active or inactive in active directory. One more thing, How can i know whether user is in online or busy or offline status. For example: Application like Sharepoint where user name is shown along with status of communicator like online,offline, busy etc. How to get those status in LDAP.


    My another question is " string filter = "(&(sn=" + prefixText + "*)(objectClass=User))";"


    I have been using above query to search for all user whose surname starts with preFixText value, but it doesnot check First Name, How to search for user both in surname or givenname or Name or cn or firstname.



    Sunday, June 26, 2011 7:23 PM