So the issue is I am trying to join users using the index on the user table. I have a Stored procedure that will add a user to the table if they do not exist and return there index.
Not sure how to set the returned value to either a DN or attribute, so they can be joined on later. Maybe Im going about this the wrong way?