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. Visual Basic
  4. Need Help with the DirectoryServices namespace in .net 3.5

Need Help with the DirectoryServices namespace in .net 3.5

Scheduled Pinned Locked Moved Visual Basic
csharphtmlcomwindows-adminhelp
5 Posts 2 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.
  • T Offline
    T Offline
    timraines
    wrote on last edited by
    #1

    Hi I am having a little bit of trouble understanding how to read property values from objects in the Active Directory that are not included in the standard DirectoryServices.AccountManagement namespace which is new in .NET 3.5 .. At current this is the only reference I have which I am not following.. not a very good C# guy! http://costoda.blogspot.com/2008/01/getting-information-from-active.html[^] If someone could suggest some examples on how to do the same as that link above in VB instead that would be awesome! Kind Regards, Tim

    T R 2 Replies Last reply
    0
    • T timraines

      Hi I am having a little bit of trouble understanding how to read property values from objects in the Active Directory that are not included in the standard DirectoryServices.AccountManagement namespace which is new in .NET 3.5 .. At current this is the only reference I have which I am not following.. not a very good C# guy! http://costoda.blogspot.com/2008/01/getting-information-from-active.html[^] If someone could suggest some examples on how to do the same as that link above in VB instead that would be awesome! Kind Regards, Tim

      T Offline
      T Offline
      timraines
      wrote on last edited by
      #2

      Does anyone know anything on this topic? I don't want to sound impatient!

      Tim ------------------------- Visit my Blog: http://tim.raimes.com.au/

      1 Reply Last reply
      0
      • T timraines

        Hi I am having a little bit of trouble understanding how to read property values from objects in the Active Directory that are not included in the standard DirectoryServices.AccountManagement namespace which is new in .NET 3.5 .. At current this is the only reference I have which I am not following.. not a very good C# guy! http://costoda.blogspot.com/2008/01/getting-information-from-active.html[^] If someone could suggest some examples on how to do the same as that link above in VB instead that would be awesome! Kind Regards, Tim

        R Offline
        R Offline
        richardw48
        wrote on last edited by
        #3

        Sorry can't help with VS 2008/.Net 3.5 but you could always copy the code from the blog and try the auto-conversion to vb using this link http://www.developerfusion.com/tools/convert/csharp-to-vb[^]

        modified on Thursday, October 2, 2008 11:10 AM

        T 1 Reply Last reply
        0
        • R richardw48

          Sorry can't help with VS 2008/.Net 3.5 but you could always copy the code from the blog and try the auto-conversion to vb using this link http://www.developerfusion.com/tools/convert/csharp-to-vb[^]

          modified on Thursday, October 2, 2008 11:10 AM

          T Offline
          T Offline
          timraines
          wrote on last edited by
          #4

          That tool was really useful, especially since it was free as I have seen expensive tools that do similar things! Thanks for that. Ok So this has helped me build the code into a VB Class.. I am stuggling with implementing the same class into my project.. as it might get confusing to go deeper into the actually code I am working on can someone provide a rough example of how to "get" and "set" values on custom properties constructed in a class. My memory needs refreshing.. Does that make sense?

          Tim ------------------------- Visit my Blog: http://tim.raimes.com.au/

          T 1 Reply Last reply
          0
          • T timraines

            That tool was really useful, especially since it was free as I have seen expensive tools that do similar things! Thanks for that. Ok So this has helped me build the code into a VB Class.. I am stuggling with implementing the same class into my project.. as it might get confusing to go deeper into the actually code I am working on can someone provide a rough example of how to "get" and "set" values on custom properties constructed in a class. My memory needs refreshing.. Does that make sense?

            Tim ------------------------- Visit my Blog: http://tim.raimes.com.au/

            T Offline
            T Offline
            timraines
            wrote on last edited by
            #5

            Ok So for anyone interested I found some code that I can use.. http://www.codeverge.net/ng.asp-net-forum.security/getting-extended-user-information-from-active-directory[^] .. unfortunately this code is the "old" way of doing what I want to do, as in on .NET 2.0 this would be how it is done, I guess I will use this for now and get on with it.. upgrade my code later when I find more documentation on the 3.5 System.DirectoryServices.AccountManagement namespace.

            Tim ------------------------- Visit my Blog: http://tim.raimes.com.au/

            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