473,396 Members | 1,827 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

LDAP - SearchResultCollection / SearchResult problem

mg

SearchResultCollection resultCollection = LDAPsearcher.FindAll()
SearchResult[] resultArray
resultArray = new SearchResult[resultCollection.Count]
resultCollection.CopyTo(resultArray,0)

resultCollection.Count is

But many fewer than N items appear in resultArra

How can I get all N items to appear in resultArray?
Nov 18 '05 #1
0 1274

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Daneel | last post by:
I am attempting to get information from an OpenLDAP server (NOT Active Directory) using the DirectoryServices object. The response is always "There is no such object on the server", but I can use...
2
by: Daneel | last post by:
The following code gets attributes from an LDAP server. It works several times, but then returns a "server is not operational" error for all subsequent calls. A "netstat -na" on the Windows 2003...
1
by: Prasad Karunakaran | last post by:
I am using the C# DirectoryEntry class to retrieve the Properties of an user object in the Active Directory. I need to get the First Name and Last Name as properties. I know it is not supported...
2
by: Paralleltangent | last post by:
Hello, Anyone able to grab the namingContext using C# with an openldap backend using directory entry? For example: DirectoryEntry de = new DirectoryEntry("LDAP://" + serverName, userName,...
3
by: Vish | last post by:
Hello all, I am trying to get all 'active' user details (username, firstname, lastname) from win 2003 AD server using System.DirectoryServices. It works fine. But it is too slow for getting all...
0
by: mg | last post by:
SearchResultCollection resultCollection = LDAPsearcher.FindAll(); SearchResult resultArray; resultArray = new SearchResult; resultCollection.CopyTo(resultArray,0); resultCollection.Count is N ...
1
by: Dave | last post by:
Could someone fix this for me please. The last bit i cant figure out is the last line in the sub. Results.SetDataBinding(myTable.DefaultView, "") Thanks Dave ...
1
by: Serge | last post by:
Good Day Folks, I'm trying to do LDAP searches, on a Novell eDirectory I have an LDAP class defined as follows ' Contents of LDAPAuthentication.vb <script language="VB" runat="server">
1
by: Serge | last post by:
Good Day Folks, I'm trying to do LDAP searches, on a Novell eDirectory. I made the change someone suggested, but now I'm getting a differenct error. I have an LDAP class defined as follows ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.