Ajouter une réclamation personnalisée
-
10-12-2019 - |
Question
J'ai actuellement une application Web SharePoint 2013 à l'aide des réclamations et de la FBA, une fois que l'utilisateur se connecte, je peux voir l'objet de la revendication et la collecte de revendications.Comment ferais-je d'ajouter une réclamation telle que pays aux revendications?
La solution
You'll have to write a custom claims provider and override the FillClaimsForEntity method (cf. http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.claims.spclaimprovider.fillclaimsforentity(v=office.15).aspx).
I hope this helps.
Regards,
Raphael.
Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange