locked
identification ldap silverlight utilisateur actuel RRS feed

  • Question

  • svp , comment puis-je identifié directement par l'utilisateur courant (ldap )dans une application Silverlight
    • Modifié MHNET2 lundi 15 juin 2015 00:02
    lundi 15 juin 2015 00:00

Toutes les réponses

  • Bonjour,

    Si votre appli Silverlight est hébergée dans un site IIS, vous pouvez utiliser l'authentification Windows  :

    <system.web>
      <authentication mode="Windows" />
    </system.web>

    Normalement, après, quand vous allez sur la page contenant votre appli Silverlight, vous devriez pouvoir récupérer l'identity (Threading.currentPrincipal).

    Sinon, il faut utiliser un service pour accéder à votre AD : https://msdn.microsoft.com/en-us/library/dd744835(VS.95).aspx


    Richard Clark
    Consultant - Formateur .NET
    http://www.c2i.fr
    Depuis 1996: le 1er site .NET francophone

    lundi 15 juin 2015 07:59