Question

Je reçois une mise à jour nocturne des propriétés de profil de tous les utilisateurs via CSV.Je souhaite configurer l'application de service de profil utilisateur pour synchroniser ce CSV.Je suppose que cela ne devrait pas être terriblement difficile et a probablement été fait auparavant.Cependant, mon Google-Fu n'est pas à la hauteur et je ne trouve aucun bon exemple.J'ai trouvé des Exemples à l'aide de Powershell Mais je pensais que l'utilisation de la BCS et de la synchronisation pourrait être une meilleure idée.Quelqu'un pourrait-il m'aider s'il vous plaît à trouver un exemple de faire cela en C #?

Était-ce utile?

La solution

Personally, I would use PowerShell. But, if you really must use BCS, look at the samples for creating a custom BSC Connector to XML, XLS, or CSV. There are several out there. Scot Hillier wrote the book and there are samples in there: http://www.amazon.com/Professional-Business-Connectivity-Services-SharePoint/dp/047061790X

Once you have the BCS connection working you then create a secondary sync connection in the UPA for your BCS import and identify the key, like email or username.

Note, you will still need an LDAP source for initially creating users.

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top