Sincronizar o SharePoint 2010 UPS para um arquivo CSV
-
10-12-2019 - |
Pergunta
Eu recebo uma atualização noturna de todas as propriedades do perfil dos usuários via CSV.Eu gostaria de configurar o aplicativo de serviço de perfil do usuário para sincronizar com esse CSV.Eu suponho que isso não deve ser terrivelmente difícil e provavelmente foi feito antes.No entanto, meu Google-fu não é até rapé e não consigo encontrar bons exemplos.Eu encontrei alguns exemplos usando o PowerShell Mas pensei que usar BCS e sincronização pode ser uma ideia melhor.Alguém poderia me ajudar a encontrar um exemplo de fazer isso em c #?
Solução
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.