|
111 | 111 | ## Examples
|
112 | 112 |
|
113 | 113 | ```csharp
|
114 |
| -
|
115 | 114 | // Create the principal context for the usr object.
|
116 | 115 | PrincipalContext ctx = new PrincipalContext(ContextType.Domain, "fabrikam.com", "CN=Users,DC=fabrikam,DC=com", "administrator", "SecurelyStoredPassword");
|
117 | 116 |
|
@@ -175,7 +174,6 @@ foreach (UserPrincipal u in results)
|
175 | 174 | ## Examples
|
176 | 175 |
|
177 | 176 | ```csharp
|
178 |
| -
|
179 | 177 | // Create the principal context for the usr object.
|
180 | 178 | PrincipalContext ctx = new PrincipalContext(ContextType.Domain, "fabrikam.com", "CN=Users,DC=fabrikam,DC=com", "administrator", "SecurelyStoredPassword");
|
181 | 179 |
|
@@ -245,7 +243,6 @@ foreach (UserPrincipal u in results)
|
245 | 243 | In an extended class, you might implement an advanced search filter for `LogonCount`:
|
246 | 244 |
|
247 | 245 | ```csharp
|
248 |
| -
|
249 | 246 | public class InetOrgPersonSearchFilter : AdvancedFilters
|
250 | 247 | {
|
251 | 248 | public InetOrgPersonSearchFilter(Principal p) : base(p) { }
|
@@ -293,7 +290,6 @@ public class InetOrgPersonSearchFilter : AdvancedFilters
|
293 | 290 | ## Examples
|
294 | 291 |
|
295 | 292 | ```csharp
|
296 |
| -
|
297 | 293 | // Create the principal context for the usr object.
|
298 | 294 | PrincipalContext ctx = new PrincipalContext(ContextType.Domain, "fabrikam.com", "CN=Users,DC=fabrikam,DC=com", "administrator", "SecurelyStoredPassword");
|
299 | 295 |
|
@@ -355,7 +351,6 @@ foreach (UserPrincipal u in results)
|
355 | 351 | ## Examples
|
356 | 352 |
|
357 | 353 | ```csharp
|
358 |
| -
|
359 | 354 | // Create the principal context for the usr object.
|
360 | 355 | PrincipalContext ctx = new PrincipalContext(ContextType.Domain, "fabrikam.com", "CN=Users,DC=fabrikam,DC=com", "administrator", "SecurelyStoredPassword");
|
361 | 356 |
|
@@ -419,7 +414,6 @@ foreach (UserPrincipal u in results)
|
419 | 414 | ## Examples
|
420 | 415 |
|
421 | 416 | ```csharp
|
422 |
| -
|
423 | 417 | // Create the principal context for the usr object.
|
424 | 418 | PrincipalContext ctx = new PrincipalContext(ContextType.Domain, "fabrikam.com", "CN=Users,DC=fabrikam,DC=com", "administrator", "SecurelyStoredPassword");
|
425 | 419 |
|
@@ -481,7 +475,6 @@ foreach (UserPrincipal u in results)
|
481 | 475 | ## Examples
|
482 | 476 |
|
483 | 477 | ```csharp
|
484 |
| -
|
485 | 478 | // Create the principal context for the usr object.
|
486 | 479 | PrincipalContext ctx = new PrincipalContext(ContextType.Domain, "fabrikam.com", "CN=Users,DC=fabrikam,DC=com", "administrator", "SecurelyStoredPassword");
|
487 | 480 |
|
|
0 commit comments