Ask a Question related to ASP.NET General, Design and Development.
-
khaja shaik #1
ADSI/LDAP Query
Arianne, I have the following code in C Sharp which query
the Active Directory to get the user details. But it
brings up only 1000 records.
Is there any code which can give me all the records from
Active Directory.
I have the folowing code in c sharp. But it returns only
1000 records. Is there a way to get all teh records from
Active Directory.
DirectoryEntry de = new DirectoryEntry
("LDAP://OU=StoreUsers,DC=test,DC=test,DC=test,DC=net");
DirectorySearcher src = new DirectorySearcher(de);
src.SearchRoot = de;
foreach(SearchResult res in src.FindAll())
{
while(ien.MoveNext())
{
Console.WriteLine (ien.Key.ToString());
Console.WriteLine (res.Properties
[ien.Key.ToString()][0]);
}
}
khaja shaik Guest
-
Filter by MshORAddresses in an LDAP query
I am trying to query an LDAP server, and search for part of a string within the mshORAddresses field. This field is a string that is comma delimited... -
Error when using ldap query
I am trying to do an LDAP query an AD group. I already have one that queries the same server, and works. But on my new query I get the following... -
Query IIS or LDAP for User Info
Is it possible to query from IIS or LDAP, the user who is currently accessing the web server? I'm trying to set up a secure site that uses... -
Set LDAP Query Timeout?
I make an AD query to a remote domain controller and only give it 10 seconds to respond (more than enough in this particular environment). I don't... -
LDAP query through ASP
Can anyone direct me to some simple ASP code samples to do the following? I'd like to, given a UID, check to see if an individual in a public...



Reply With Quote

