Page 1 of 1 1
Topic Options
#34987 - 2003-01-09 02:26 AM Multi page or multi line data from AD query
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11631
Loc: CA
Does anyone know how to properly retrieve multi value entries from the AD

i.e.
The directReports from the Organizations tab on a user account can have multiple entries.

The Street can have multiple lines, that could include a CRLF (not quite the same as a multi-line, but could/would mess up a report due to the inclusion of the unwanted CRLF, or a need to better append in a report)

Kind of like the ipaddress0, 1, 2, 3 handles multiple nics. The AD has some attributes that have multiple fields, I'm not sure how to retrieve these correctly.

Appreciate it if anyone that knows how to do that could explain how.

[ 09. January 2003, 02:34: Message edited by: NTDOC ]

Top
#34988 - 2003-01-09 02:53 AM Re: Multi page or multi line data from AD query
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Yeah, let me locate the code example...
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#34989 - 2003-01-09 03:06 AM Re: Multi page or multi line data from AD query
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Don't have any KiXtart code...Have some Perl though. The commands your need are GetEX and PutEX. See the ADSI Help file. If you need additional assistance let me know.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#34990 - 2003-01-09 03:13 AM Re: Multi page or multi line data from AD query
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11631
Loc: CA
Thanks Howard,

I have read that in the past but never did get it working with KiXtart. That was a long time ago. I'll have to dig that documentation up again and see if I can do any better with it now that I have a least a "little" more experience with AD.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netdir/adsi/iads_getex.asp

[ 09. January 2003, 03:14: Message edited by: NTDOC ]

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1782 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.511 seconds in which 0.489 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org