Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Active Directory in Silverlight

Active Directory in Silverlight

Scheduled Pinned Locked Moved WPF
windows-adminhelp
6 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    GomathiR
    wrote on last edited by
    #1

    Hi, I have a silverlight application with a login page. I want to check login members against Active Directory members and then redirect them to respective pages. I have done Active directory validation in dot net.But in Silverlight, I am unable to find "System.DirectoryServices" dll. Any help regarding this will be very useful.Thanks in advance :) .

    Gomathi R

    M M J U 4 Replies Last reply
    0
    • G GomathiR

      Hi, I have a silverlight application with a login page. I want to check login members against Active Directory members and then redirect them to respective pages. I have done Active directory validation in dot net.But in Silverlight, I am unable to find "System.DirectoryServices" dll. Any help regarding this will be very useful.Thanks in advance :) .

      Gomathi R

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      You're not going to be able to use Active Directory in a Silverlight app. You'll need a Windows-specific solution since Active Directory is Windows specific and Silverlight is not. You could possibly use Active Directory on a server, maybe through a WCF or other web service.

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      1 Reply Last reply
      0
      • G GomathiR

        Hi, I have a silverlight application with a login page. I want to check login members against Active Directory members and then redirect them to respective pages. I have done Active directory validation in dot net.But in Silverlight, I am unable to find "System.DirectoryServices" dll. Any help regarding this will be very useful.Thanks in advance :) .

        Gomathi R

        M Offline
        M Offline
        Michael Sync
        wrote on last edited by
        #3

        If you are using Silverlight 3 with RIA Service, you may want to check-out this http://silverlight.net/forums/p/107447/243735.aspx[^]

        Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) Microsoft MVP (Silverlight), WPF/Silverlight Insiders

        1 Reply Last reply
        0
        • G GomathiR

          Hi, I have a silverlight application with a login page. I want to check login members against Active Directory members and then redirect them to respective pages. I have done Active directory validation in dot net.But in Silverlight, I am unable to find "System.DirectoryServices" dll. Any help regarding this will be very useful.Thanks in advance :) .

          Gomathi R

          J Offline
          J Offline
          Jeremy Likness
          wrote on last edited by
          #4

          We had the same challenge. The key is to stand it up behind a secured WCF service. The WCF service can make the call to check active directory and then return the status to the Silverlight client. You'll also want to look into generating a token or some unique way to "tag" the session as authenticated on Silverlight so that subsequent calls don't have to re-authenticate every time.

          Jeremy Likness Latest Article: Hierarchal Data Templates in Silverlight Blog: http://csharperimage.jeremylikness.com/

          V 1 Reply Last reply
          0
          • J Jeremy Likness

            We had the same challenge. The key is to stand it up behind a secured WCF service. The WCF service can make the call to check active directory and then return the status to the Silverlight client. You'll also want to look into generating a token or some unique way to "tag" the session as authenticated on Silverlight so that subsequent calls don't have to re-authenticate every time.

            Jeremy Likness Latest Article: Hierarchal Data Templates in Silverlight Blog: http://csharperimage.jeremylikness.com/

            V Offline
            V Offline
            Vadluri Sreenu
            wrote on last edited by
            #5

            hi, Keep in mind, All the protocolls must be implemented to be accessible from the Silverlight sandbox. As no socket support is available right now, its not possible for 3rd party devs to do that now... You only could write a webservice proxy and access that proxy from the app. Probably the most easy and approachable way to do it right now.

            1 Reply Last reply
            0
            • G GomathiR

              Hi, I have a silverlight application with a login page. I want to check login members against Active Directory members and then redirect them to respective pages. I have done Active directory validation in dot net.But in Silverlight, I am unable to find "System.DirectoryServices" dll. Any help regarding this will be very useful.Thanks in advance :) .

              Gomathi R

              U Offline
              U Offline
              User 4635602
              wrote on last edited by
              #6

              what you need to do is to implement a web service that queries the AD and use this web service as a proxy to retrieve AD information

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups