I have a requirement to restrict a lookup values to display only his/her user name. For ex: we have a lookup which displays all active resources in the application. My requirement is this lookup should display only his/her name when he/she is accessing their accounts. Is this possible, if so please suggest me what changes i need to make in the Query behind this lookup?
If firstname.lastname@example.org is accessing his account, then lookup should show only his name