When you got a lot of users in your FIM portal, you probably want to use search scopes to get a quick overview or a “cleaner” presentation of users. Let`s create a new custom search scope that gives us a view of all users that is currently active.
Create new search scope
Go to the FIM portal -> Administration -> Search Scopes
New search scope – General tab
Create new search scope, and do something like this:
Display Name: All Active Users
Usage Keyword:
BasicUI
customized
Global
Person
MailEnabledSecurity
Security
Distribution
Order: 2
New search scope – Search Definition tab
This is which attributes should be used to search for the a user when someone is typing in the search field.
Attribute Searched:
DisplayName
AccountName
MailNickname
Search Scope Filter: (This is the XPath expression that will return all our active users).
/Person[EmployeeStatus="Active"]
Test the XPath by clicking in the windows below.
New search scope – Results tab
This is where you choose which attributes you want to see. Choose Resource Type: Person
And Attributes (ex): DisplayName;Domain;AccountName;JobTitle;OfficeLocation;OfficePhone;Email
New search scope – Localization tab
It`s possible to present the name in different languages depending on the end-users browser language. Localized Display Name: All Active Users
Now. Next and Finish
iisreset
Remember to do a IISRESET after the new search scope is created!