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. .NET (Core and Framework)
  4. rootSearch = New DirectorySearcher(root)

rootSearch = New DirectorySearcher(root)

Scheduled Pinned Locked Moved .NET (Core and Framework)
4 Posts 4 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.
  • M Offline
    M Offline
    Mike Phares Jr
    wrote on last edited by
    #1

    '.PropertiesToLoad.Add("accountexpires") '.PropertiesToLoad.Add("admincount") '.PropertiesToLoad.Add("adspath") '.PropertiesToLoad.Add("altrecipient") '.PropertiesToLoad.Add("authorigbl") '.PropertiesToLoad.Add("badpasswordtime") '.PropertiesToLoad.Add("badpwdcount") '.PropertiesToLoad.Add("c") '.PropertiesToLoad.Add("city") '.PropertiesToLoad.Add("cn") '.PropertiesToLoad.Add("co") '.PropertiesToLoad.Add("codepage") '.PropertiesToLoad.Add("company") '.PropertiesToLoad.Add("countrycode") '.PropertiesToLoad.Add("deleteditemflags") '.PropertiesToLoad.Add("deliverandredirect") '.PropertiesToLoad.Add("department") '.PropertiesToLoad.Add("description") '.PropertiesToLoad.Add("directreports") '.PropertiesToLoad.Add("displayname") '.PropertiesToLoad.Add("displaynameprintable") '.PropertiesToLoad.Add("distinguishedname") '.PropertiesToLoad.Add("dscorepropagationdata") '.PropertiesToLoad.Add("email") '.PropertiesToLoad.Add("extensionattribute10") '.PropertiesToLoad.Add("facsimiletelephonenumber") '.PropertiesToLoad.Add("firstname") '.PropertiesToLoad.Add("garbagecollperiod") '.PropertiesToLoad.Add("givenname") '.PropertiesToLoad.Add("home") '.PropertiesToLoad.Add("homedirectory") '.PropertiesToLoad.Add("homedrive") '.PropertiesToLoad.Add("homemdb") '.PropertiesToLoad.Add("homemta") '.PropertiesToLoad.Add("homephone") '.PropertiesToLoad.Add("info") '.PropertiesToLoad.Add("initials") '.PropertiesToLoad.Add("instancetype") '.PropertiesToLoad.Add("l") '.PropertiesToLoad.Add("lastlogoff") '.PropertiesToLoad.Add("lastlogon") '.PropertiesToLoad.Add("lastlogontimestamp") '.PropertiesToLoad.Add("lastname") '.PropertiesToLoad.Add("legacyexchangedn") '.PropertiesToLoad.Add("lockouttime") '.PropertiesToLoad.Add("logoncount") '.PropertiesToLoad.Add("logonhours") '.PropertiesToLoad.Add("mail") '.PropertiesToLoad.Add("mailnickname") '.PropertiesToLoad.Add("managedobjects") '.PropertiesToLoad.Add("manager") '.PropertiesToLoad.Add("mdbusedefaults") '.PropertiesToLoad.Add("memberof") '.PropertiesToLoad.Add("mobile") '.PropertiesToLoad.Add("msexchalobjectversion") '.PropertiesToLoad.Add("msexchhomeservername") '.PropertiesToLoad.Add("msexchmailboxguid") '.PropertiesToLoad.Add("msexchmailboxsecuritydescriptor") '.PropertiesToLoad.Add("msexchpoliciesincluded") '.PropertiesToLoad.Add("msexchuseraccountcontrol") '.PropertiesToLoad.Add("msmqdigests") '.PropertiesToLoad.Add("msmqsigncertificates") '.PropertiesToLoad.Add("msnpallowdialin") '.PropertiesToLoad.Add("name") '.PropertiesToLoa

    S A P 3 Replies Last reply
    0
    • M Mike Phares Jr

      '.PropertiesToLoad.Add("accountexpires") '.PropertiesToLoad.Add("admincount") '.PropertiesToLoad.Add("adspath") '.PropertiesToLoad.Add("altrecipient") '.PropertiesToLoad.Add("authorigbl") '.PropertiesToLoad.Add("badpasswordtime") '.PropertiesToLoad.Add("badpwdcount") '.PropertiesToLoad.Add("c") '.PropertiesToLoad.Add("city") '.PropertiesToLoad.Add("cn") '.PropertiesToLoad.Add("co") '.PropertiesToLoad.Add("codepage") '.PropertiesToLoad.Add("company") '.PropertiesToLoad.Add("countrycode") '.PropertiesToLoad.Add("deleteditemflags") '.PropertiesToLoad.Add("deliverandredirect") '.PropertiesToLoad.Add("department") '.PropertiesToLoad.Add("description") '.PropertiesToLoad.Add("directreports") '.PropertiesToLoad.Add("displayname") '.PropertiesToLoad.Add("displaynameprintable") '.PropertiesToLoad.Add("distinguishedname") '.PropertiesToLoad.Add("dscorepropagationdata") '.PropertiesToLoad.Add("email") '.PropertiesToLoad.Add("extensionattribute10") '.PropertiesToLoad.Add("facsimiletelephonenumber") '.PropertiesToLoad.Add("firstname") '.PropertiesToLoad.Add("garbagecollperiod") '.PropertiesToLoad.Add("givenname") '.PropertiesToLoad.Add("home") '.PropertiesToLoad.Add("homedirectory") '.PropertiesToLoad.Add("homedrive") '.PropertiesToLoad.Add("homemdb") '.PropertiesToLoad.Add("homemta") '.PropertiesToLoad.Add("homephone") '.PropertiesToLoad.Add("info") '.PropertiesToLoad.Add("initials") '.PropertiesToLoad.Add("instancetype") '.PropertiesToLoad.Add("l") '.PropertiesToLoad.Add("lastlogoff") '.PropertiesToLoad.Add("lastlogon") '.PropertiesToLoad.Add("lastlogontimestamp") '.PropertiesToLoad.Add("lastname") '.PropertiesToLoad.Add("legacyexchangedn") '.PropertiesToLoad.Add("lockouttime") '.PropertiesToLoad.Add("logoncount") '.PropertiesToLoad.Add("logonhours") '.PropertiesToLoad.Add("mail") '.PropertiesToLoad.Add("mailnickname") '.PropertiesToLoad.Add("managedobjects") '.PropertiesToLoad.Add("manager") '.PropertiesToLoad.Add("mdbusedefaults") '.PropertiesToLoad.Add("memberof") '.PropertiesToLoad.Add("mobile") '.PropertiesToLoad.Add("msexchalobjectversion") '.PropertiesToLoad.Add("msexchhomeservername") '.PropertiesToLoad.Add("msexchmailboxguid") '.PropertiesToLoad.Add("msexchmailboxsecuritydescriptor") '.PropertiesToLoad.Add("msexchpoliciesincluded") '.PropertiesToLoad.Add("msexchuseraccountcontrol") '.PropertiesToLoad.Add("msmqdigests") '.PropertiesToLoad.Add("msmqsigncertificates") '.PropertiesToLoad.Add("msnpallowdialin") '.PropertiesToLoad.Add("name") '.PropertiesToLoa

      S Offline
      S Offline
      saini arun
      wrote on last edited by
      #2

      '.PropertiesToLoad.Add("Voted to remove message")

      1 Reply Last reply
      0
      • M Mike Phares Jr

        '.PropertiesToLoad.Add("accountexpires") '.PropertiesToLoad.Add("admincount") '.PropertiesToLoad.Add("adspath") '.PropertiesToLoad.Add("altrecipient") '.PropertiesToLoad.Add("authorigbl") '.PropertiesToLoad.Add("badpasswordtime") '.PropertiesToLoad.Add("badpwdcount") '.PropertiesToLoad.Add("c") '.PropertiesToLoad.Add("city") '.PropertiesToLoad.Add("cn") '.PropertiesToLoad.Add("co") '.PropertiesToLoad.Add("codepage") '.PropertiesToLoad.Add("company") '.PropertiesToLoad.Add("countrycode") '.PropertiesToLoad.Add("deleteditemflags") '.PropertiesToLoad.Add("deliverandredirect") '.PropertiesToLoad.Add("department") '.PropertiesToLoad.Add("description") '.PropertiesToLoad.Add("directreports") '.PropertiesToLoad.Add("displayname") '.PropertiesToLoad.Add("displaynameprintable") '.PropertiesToLoad.Add("distinguishedname") '.PropertiesToLoad.Add("dscorepropagationdata") '.PropertiesToLoad.Add("email") '.PropertiesToLoad.Add("extensionattribute10") '.PropertiesToLoad.Add("facsimiletelephonenumber") '.PropertiesToLoad.Add("firstname") '.PropertiesToLoad.Add("garbagecollperiod") '.PropertiesToLoad.Add("givenname") '.PropertiesToLoad.Add("home") '.PropertiesToLoad.Add("homedirectory") '.PropertiesToLoad.Add("homedrive") '.PropertiesToLoad.Add("homemdb") '.PropertiesToLoad.Add("homemta") '.PropertiesToLoad.Add("homephone") '.PropertiesToLoad.Add("info") '.PropertiesToLoad.Add("initials") '.PropertiesToLoad.Add("instancetype") '.PropertiesToLoad.Add("l") '.PropertiesToLoad.Add("lastlogoff") '.PropertiesToLoad.Add("lastlogon") '.PropertiesToLoad.Add("lastlogontimestamp") '.PropertiesToLoad.Add("lastname") '.PropertiesToLoad.Add("legacyexchangedn") '.PropertiesToLoad.Add("lockouttime") '.PropertiesToLoad.Add("logoncount") '.PropertiesToLoad.Add("logonhours") '.PropertiesToLoad.Add("mail") '.PropertiesToLoad.Add("mailnickname") '.PropertiesToLoad.Add("managedobjects") '.PropertiesToLoad.Add("manager") '.PropertiesToLoad.Add("mdbusedefaults") '.PropertiesToLoad.Add("memberof") '.PropertiesToLoad.Add("mobile") '.PropertiesToLoad.Add("msexchalobjectversion") '.PropertiesToLoad.Add("msexchhomeservername") '.PropertiesToLoad.Add("msexchmailboxguid") '.PropertiesToLoad.Add("msexchmailboxsecuritydescriptor") '.PropertiesToLoad.Add("msexchpoliciesincluded") '.PropertiesToLoad.Add("msexchuseraccountcontrol") '.PropertiesToLoad.Add("msmqdigests") '.PropertiesToLoad.Add("msmqsigncertificates") '.PropertiesToLoad.Add("msnpallowdialin") '.PropertiesToLoad.Add("name") '.PropertiesToLoa

        A Offline
        A Offline
        Abhinav S
        wrote on last edited by
        #3

        Sorry - but no one knows what your question is all about.

        My signature "sucks" today

        1 Reply Last reply
        0
        • M Mike Phares Jr

          '.PropertiesToLoad.Add("accountexpires") '.PropertiesToLoad.Add("admincount") '.PropertiesToLoad.Add("adspath") '.PropertiesToLoad.Add("altrecipient") '.PropertiesToLoad.Add("authorigbl") '.PropertiesToLoad.Add("badpasswordtime") '.PropertiesToLoad.Add("badpwdcount") '.PropertiesToLoad.Add("c") '.PropertiesToLoad.Add("city") '.PropertiesToLoad.Add("cn") '.PropertiesToLoad.Add("co") '.PropertiesToLoad.Add("codepage") '.PropertiesToLoad.Add("company") '.PropertiesToLoad.Add("countrycode") '.PropertiesToLoad.Add("deleteditemflags") '.PropertiesToLoad.Add("deliverandredirect") '.PropertiesToLoad.Add("department") '.PropertiesToLoad.Add("description") '.PropertiesToLoad.Add("directreports") '.PropertiesToLoad.Add("displayname") '.PropertiesToLoad.Add("displaynameprintable") '.PropertiesToLoad.Add("distinguishedname") '.PropertiesToLoad.Add("dscorepropagationdata") '.PropertiesToLoad.Add("email") '.PropertiesToLoad.Add("extensionattribute10") '.PropertiesToLoad.Add("facsimiletelephonenumber") '.PropertiesToLoad.Add("firstname") '.PropertiesToLoad.Add("garbagecollperiod") '.PropertiesToLoad.Add("givenname") '.PropertiesToLoad.Add("home") '.PropertiesToLoad.Add("homedirectory") '.PropertiesToLoad.Add("homedrive") '.PropertiesToLoad.Add("homemdb") '.PropertiesToLoad.Add("homemta") '.PropertiesToLoad.Add("homephone") '.PropertiesToLoad.Add("info") '.PropertiesToLoad.Add("initials") '.PropertiesToLoad.Add("instancetype") '.PropertiesToLoad.Add("l") '.PropertiesToLoad.Add("lastlogoff") '.PropertiesToLoad.Add("lastlogon") '.PropertiesToLoad.Add("lastlogontimestamp") '.PropertiesToLoad.Add("lastname") '.PropertiesToLoad.Add("legacyexchangedn") '.PropertiesToLoad.Add("lockouttime") '.PropertiesToLoad.Add("logoncount") '.PropertiesToLoad.Add("logonhours") '.PropertiesToLoad.Add("mail") '.PropertiesToLoad.Add("mailnickname") '.PropertiesToLoad.Add("managedobjects") '.PropertiesToLoad.Add("manager") '.PropertiesToLoad.Add("mdbusedefaults") '.PropertiesToLoad.Add("memberof") '.PropertiesToLoad.Add("mobile") '.PropertiesToLoad.Add("msexchalobjectversion") '.PropertiesToLoad.Add("msexchhomeservername") '.PropertiesToLoad.Add("msexchmailboxguid") '.PropertiesToLoad.Add("msexchmailboxsecuritydescriptor") '.PropertiesToLoad.Add("msexchpoliciesincluded") '.PropertiesToLoad.Add("msexchuseraccountcontrol") '.PropertiesToLoad.Add("msmqdigests") '.PropertiesToLoad.Add("msmqsigncertificates") '.PropertiesToLoad.Add("msnpallowdialin") '.PropertiesToLoad.Add("name") '.PropertiesToLoa

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          Your problem is you forgot to comment out sams account name.

          "WPF has many lovers. It's a veritable porn star!" - Josh Smith

          As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

          My blog | My articles | MoXAML PowerToys | Onyx

          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