how can I Populate Department name and e posta adress based on selected User name ?

how can I Populate Department name and e posta adress based on selected User name ?

On selecting a user name, ServiceDesk Plus should automatically populate the selected user's department on the department name field and populate the selected user's e mail adress on the email field. its very important for me. 
greetings from Turkey. 

                  New to ADSelfService Plus?