TRACEYMARY
asked on
returning records from active directory
when i return records from active directory the max no of records i get is 1000
select distinguishedname, employeeid, sn, middlename, givenname, displayname, samaccountname, mail, cn, telephonenumber
from OpenQuery( ADSI, 'SELECT telephonenumber, distinguishedname, employeeid, sn, middlename, givenname, displayname, samaccountname, mail, cn, telephonenumber
FROM ''LDAP://DC=domain,DC=mydc ,DC=com''
WHERE objectCategory = ''Person'' AND objectClass= ''user''
AND sn >=''m''')
anyone know why is there a limitiation.....?
select distinguishedname, employeeid, sn, middlename, givenname, displayname, samaccountname, mail, cn, telephonenumber
from OpenQuery( ADSI, 'SELECT telephonenumber, distinguishedname, employeeid, sn, middlename, givenname, displayname, samaccountname, mail, cn, telephonenumber
FROM ''LDAP://DC=domain,DC=mydc
WHERE objectCategory = ''Person'' AND objectClass= ''user''
AND sn >=''m''')
anyone know why is there a limitiation.....?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks...............