How to get login name from Display Name in SharePoint 2013

login name from Display Name in SharePoint 2013:-

In this post, I explain to get login name from Display Name in SharePoint 2013. Login name is different from display name