Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1881

How to get all user attribute (ex. telephoneNumber) from AD through LDAP API ?

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Abandoned
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ldap
    • Labels:
      None
    • Environment:
      Window Server 2008

      Description

      EntryCursor cursor = connection.search("CN=Users,dc=demo, dc=com", "(name=sonnt38)", SearchScope.ONELEVEL,"*");
      while (cursor.next()) {
      Entry entry = cursor.get();
      System.out.println(entry.getAttributes());
      }

      But I don't get all attributes (ex. telephoneNumber)
      So, How to get all attributes ?
      I need your help.
      Thanks you!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              manhha87 Nguyen Manh Ha
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: