Selecting "unfound" records?
Is it possible to select the unfound records of a set?
I currently have a nightly script that imports/updates active users only. What I would like to do is to set to 'inactive' all the records that were not imported. I thought the most efficient way to do this is to find all the unfound records (after the import), loop through them and set the enroll status to inactive. But not sure how to select these 'unfound' records.
I know I could have a script at the beggining to set all the users to inactive and make the import update those that are active. However, i'm concerned about performance.
Any help is appreciated.