At present I have an Infopath form where the employee in an organization enters his employee-id in a textbox and clicks on a "Find" button.All the other employee details like his name,phone number,email-id etc gets populated in the corressponding controls.
I have written a web service which takes in employee id as the input from the Infopath form (on the click of the buton)and searches in the ADS for the details and returns the employee details.
But now I want to implement the following..
When I open the Infopath form in SharePoint,I want all the emplyee details to be automatically populated.
So I want my webservice to validate against my windows login which is the employee id in my organization.
I want my web service to capture the windows login and then search the ADS for the employee details based on the employee id,I enter in the Windows login.
So can somebody tell me as to how I can capture the Windows login i.e the user-id in my web service.
Thanks in advance.
Regards,
Abhishek