proggR Posted July 27, 2011 Share Posted July 27, 2011 I have never used LDAP in my life and now I'm trying to figure out a query for a project at work. I was hoping someone here had more experience. Also please forgive any misused terms since I'm pretty much clueless. We have course entries and student entries. I was originally hoping to query the students and use isMemeberOf to determine if they're a member of a course. Evidently, isMemberOf is not indexed so I can't search like that. So now I have to query the courses and use uniqueMember to have it return the entire student list for the course. The problem is I would then have to requery each student individually to get the Pkey of the student since that's not present in the information represented by uniqueMember. I was wondering if there was any way to have it return information about each uniqueStudent along with the results so I don't have to do this extra step. I'm sure you would need more information to give me a straight answer and in all likelyhood its probably something I don't know. Any help or direction would be greatly appreciated. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
proggR Posted July 27, 2011 Author Share Posted July 27, 2011 Its not the end of the world if it can't be done. I have the working queries to do it the other way but I was hoping to not have to spam the ldap server over and over since these lists are going to be rather large and there will be a lot of them. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.