I am replacing a colleage for support of a SharePoint 2010 intranet.
A functionality has been implemented in a site allowing users to make holiday requests.
A user must fill in an InfoPath form to make an holiday request.
A record is added to a library when an holiday request is made.
The GetUserProfileByName method of the UserProfileService web service is called when the InfoPath form is loading.
GetUserProfileByName is called to get user's information including the account name.
The account name is stored in a column of the record corresponding to the holiday request.
I have looked at records and I have noticed an issue.
I prefer to explain the issue with an example for the sake of clarity.
Let's consider the user Taylor Gordon.
His account name is MYDOMAIN\GordonT as dislayed in the intranet.
He made a first holiday request on the 8th of April 2013.
The GetUserProfileByName retrieved the account name MYDOMAIN\GordonT.
There is no character case difference with the intranet account name.
He made a second holiday request on the 19th of April 2013.
The GetUserProfileByName retrieved the account name MYDOMAIN\gordont.
The user name is surprisingly in lower case and it is an issue.
I guess the GetUserProfileByName method reads a user account data source different from the one read by the intranet.
Am I right ?
If so then how can I synchronize the two datasources.
For information the users of the intranet have been imported from an active directory by a User Profile Service.
Any help will be greatly appreciated