| Nick Porter 的个人资料Nick Porter - SharePoint...日志列表 | 帮助 |
|
2008/6/23 Applying a User Filter to the SharePoint Profile Import Connection.I hadn't really paid much attention to the user profile information in MOSS 2007 after initially configuring the User Profiles and Properties.
I thought it was about time to fine tune these settings and exclude all of those old disabled users and service accounts who were still showing up in the People Search results.
I followed this KB article, which provides a specific user filter to prevent disabled users from being imported, however, after applying this filter there were still a number of old employees showing up in the search results? After a bit of investigation I found that these accounts were still being held in a "Deleted Users" location in AD. These users weren't actually disabled, but rather flagged as deleted.
I then appended the following query to prevent disabled users from being imported also: ( !(IsDeleted=TRUE))
I then had the problem of service accounts showing up in the search results. The quickest way around this was to import only accounts which had a valid email address: (mail=*.com)
In most organisations, service accounts won't have an associated email address. You may need to think up another way to filter these accounts if your organisation does associate email with service accounts. NOTE: One important thing to remember is, once you have applied these filters, you will also have to run an update on the content source which holds your profile information (by default this is the "Local Office SharePoint Server sites" content source).
Even though the users may have been excluded from the import once you have applied the filter, the old profiles will still sit in the index until you run another full crawl. Here is the full user filter:
评论 (1)
Nick Porter
在此页禁用了评论功能。
引用通告引用此项的网络日志
|
|
|