how to connect to AD to fetch the name of the user against his employeeid
Hi all,
I am trying to get the name of the employee when he logs in to access point.
I elaborate:
I have an application wherein when the user opens the application then it gets the message as "welcome EmployeeID" where employeeid is the is through which he logged into accesspoint. This ID is retrieved by using the function OSUser().
Now i want to fetch the name of the user through his login ID from the AD.
Like if my name in AD is Saima and my employeeID is 11000 then, when i log in to the application i should get the message as "Welcome Saima".