In sharepoint, when we search for users using "People Picker", it fetches the users from "User Information List" as well as Active Directory.
Now, the issue is that, if we disable a user in Active Directory & search in people picker, It still provides that user in search results (as that user is available in local sharepoint site collection cache).
I understand we can restrict people-picker to read filtered ACTIVE AD members using:
stsadm.exe -o setproperty -pn peoplepicker-searchadcustomfilter -pv "(!(userAccountControl:1.2.840.113556.1.4.803:=2))" -url http://siteurl
Also, there is another property for people picker to search only within site collection,
stsadm -o setproperty –url http://siteurl –pn peoplepicker-onlysearchwithinsitecollection –pv yes
We can always avoid users to be searched from People-Picker control by deleting them from site collection, but it is not what I want.
Is there any way, the People-Picker could be configured to search the users only from ActiveDirectory & not from site collection?