How can I create column in SharePoint list to retrieve users from Active directory or user profile service filtered by department?
For example, if user select IT department this column will retrieve all employees at IT only.
How can I create column in SharePoint list to retrieve users from Active directory or user profile service filtered by department?
For example, if user select IT department this column will retrieve all employees at IT only.
I am afraid that we cannot achieve your requirement in the list directly.
You could use search to retrieve users from user profile based on the Department.
For more detailed information, refer to the articles below.
How to Build a Corporate Directory with SharePoint Search.
Creating a Robust Employee Directory Using SharePoint Search.