Results 1 to 2 of 2

Thread: LDAP and ADSI/ADO

  1. #1
    Join Date
    Dec 1969

    Default LDAP and ADSI/ADO

    I&#039ve read the information on the: http://www.4guysfromrolla.com/webtech/030100-1.shtml page written by Julian Sitkewich. <BR><BR>I then created a routine that accepts an LDAP object, the path to the object, the object class to create, the unique identifier for the object, and a string representing the attributes and their values (name=value&name=value ... format). The code then splits out the name=value pairs, creates the OpenDSObject container object, creates the entry object, and then loops through the name value pairs and "put"s each of them in the cache and then "set"s them all with setinfo. <BR><BR>The question I have is how do you set an attribute that can have multiple values (i.e. telephoneNumber=x and telephoneNumber=y)?<BR><BR>Also, can the code sample be used to update records? If not, what modifications are required?<BR> <BR>

  2. #2
    gene fermindoza Guest

    Default RE: LDAP and ADSI/ADO

    use "putex". it accepts 3 parameters<BR><BR>objADs.putEx 2, "mutliValuedATT",(arrayofValues)<BR><BR>happy programming!!<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts