Monday, February 18, 2008

Active directory searching with Visual Studio.NET


URL

XMLFILE


132740_AD Searching with dotnet.wmv a70d2602-9da3-4a03-8eff-711f2f344e13 -2.64701805 welcome -0.23719155 screencast 2.5123039 active directory 5.0139513 searching 6.79408395 with .net 10.01469165 .net evangelist 13.60867575 first thing 15.70111685 add reference 19.2965431 directory services assembly 23.57779825 select it 25.5772109 hit ok 27.57583905 add using 30.1094547 namespace 34.11024045 system.directoryservices 38.0194116 instantiate 43.86440595 directoryentry 47.92369395 nothing in there 50.20464745 root of AD 55.08296265 instance searcherobject 59.0794558 search for us 60.98698195 give result 64.705864 object = new directory 67.42596375 folder 70.29889235 ad folder object 75.1440216 next 76.70911225 searchscope 80.8951894 subtree 84.52019165 every sublevel 87.95814515 details 90.7393073 searchscope 92.8969275 filter 94.1176769 users 99.14728125 objectclass=user 108.2755375 activedirectory 111.3049286 subfolders 113.4342948 search options 117.58921435 couple demonstration 121.83823815 show to you 125.08743885 next thing 126.9949218 go ahead 129.1202143 run our search 131.37322 collection 133.4019445 set 135.05885265 result 136.99573815 to add ad object 139.5566282 final method 142.1517767 gives back 143.84171435 all uses 146.8076758 output 150.21671435 commonname 155.1225023 path 158.6566996 give two ad object 162.46978235 search result 166.7181202 properties 169.9700556 cn for commonname 172.2504411 array 174.5629048 first one 177.0951021 path as well 185.90655675 next thing 190.44174835 myself a console 193.25177785 writeline space 198.2271044 hit any key 203.7241429 lastly 206.25295695 consolereadline 209.72322225 pause screen 216.94311685 build it run it 220.34719615 list of all users 223.72416785 entire directory 226.94469165 everything 229.2852132 built in accounts 232.1316792 guests 235.94842975 organizational units 239.1329479 continue 242.16424725 change filter now 245.22717915 builtin accounts 249.60497735 administrator account 253.418169 link resource 256.76041615 show activedirectory 259.97969505 syntax 262.35166215 build run it 265.9817166 see that 270.4500443 no builtin accounts 275.1683923 stretch 277.29413495 list of users 279.8879649 no administrator 285.73337645 do it again 288.70076085 look at all 291.8910465 within OU 295.39008395 my ad folder 301.7316168 OU=Accounting 310.2363504 context 315.64089345 build run it 317.76467125 searching 319.9546191 different pint 326.61244675 users in that ou 331.9562189 only got users 335.3015953 who have an OU=account 340.45463835 changing point at which we search 343.99019955 close that 347.02093425 open up project 350.18004655 last webcast 352.55312705 modify 354.7404116 open up 358.1782336 scroll down 360.4570386 webcast 362.521059 added users 365.67946035 typing in path statement 369.71510435 not in this demo 373.96031185 hardcoded stuff 377.4314343 order to do that 380.3961259 previous 383.5582665 directory searcher 388.15127215 searcher=new 390.99400005 folder to work wit 394.6814706 declared earlier 399.1522937 original 401.40630505 webcast 405.4954241 got that 410.1506112 previous demonstration 413.09176535 filter 414.8425987 set the 416.46579825 objectclass 422.593525 equal user 426.15918375 go ahead set 428.874847 essentially 430.4067654 office 434.43836965 physical delivery 438.06463045 sales 439.93637645 add to group 442.37541275 close off 446.31374155 searchscope 449.5640397 equal subtrees 454.2524706 everybody subfolder 458.0636905 folderlevel 462.97443315 office=sales 465.3808039 one user 467.3801157 properties 472.4764445 office = sales 476.19456355 minimize that 479.72693315 that works 485.131669 do out 487.38077895 our 492.44522565 users to add 496.91331525 searchresult 501.0077642 findall 504.51085265 findone 506.50925855 first one 509.2885386 copy code 512.97736285 move into foreach 515.9185783 modify 519.2281973 change consolewriteline 523.0091996 to add user based 527.9784048 instead of hardcoding 532.76173475 user name 536.5448833 check properties 540.0433572 array 542.0444411 first one 547.04804655 hardcoding path 549.7343368 go ahead 552.8279921 use user we found 556.48672 path in there 564.92311685 little pace 571.92762815 show running 574.8001078 activedirectory 578.2682665 no sales group 582.33317235 minimize 584.61469505 build run 591.20999435 nice message 594.58254995 each user added 598.4251826 go back 600.89348985 to activedirectory 604.55258845 refresh users 606.99158395 sales group 608.64849665 exists 610.36599665 properties 612.7440273 three members 617.08460435 minimize it 622.65018825 lets how 624.42972115 do this 626.46367355 without john 630.5249388 not cn 634.24376875 = john smith 637.0857563 run it save it 641.7464207 override previous 646.1520352 only jane and peter 650.83944785 no john 653.4649014 continue 656.49627445 pull back 659.7477699 salesgroup 661.83924495 properties 664.06186175 members 666.589813 jane peter 668.59064855 no john 670.87281525 all done with 673.7174241 exclusion clause 678.9024649 show resources 683.5590851 federal developer weblog 687.3453345 resources 690.03007945 searchscope 692.3768368 links 342.99895465 previous screencasts

No comments: