Posted By:
vinod_kotnala
Posted On:
Monday, December 3, 2001 05:21 AM
I'm using JNDI to talk to Active Directory. If the number of values of a multi-value attribute in Active Directory is greater than 1000 (eg. number of users in a group), the only way to access all its values is to enumerate these using incremental retrievals of data(range retrieval). Say we want to fetch the member attribute of a Group which has about 5000 members ..Then the only way to fetch the values of attribute "member" is using the following: Attribute members = attrs.get("member;range=0-999"); ## We can't use attrs.get("member"), as it returns null ## But this just returns the first 1000
More>>
I'm using JNDI to talk to Active Directory.
If the number of values of a multi-value attribute in Active Directory
is greater than 1000 (eg. number of users in a group), the only way
to access all its values is to enumerate these using incremental
retrievals of data(range retrieval).
Say we want to fetch the member attribute of a Group which has about
5000 members ..Then the only way to fetch the values of attribute
"member" is using the following:
Attribute members = attrs.get("member;range=0-999");
## We can't use attrs.get("member"), as it returns null ##
But this just returns the first 1000 values and I'm unable to fetch
the other 4000 values.
How do I fetch all the remaining values or is there some way to
retrieve all the valuesfor an attribute regardless of number of values
it has?
Thanks,
vinod
<<Less