Skip to content

System.DirectoryServices.DirectorySearcher.AttributeScopeQuery example is malformed #2520

@mmascolino

Description

@mmascolino

The example code listed here:
https://docs.microsoft.com/en-us/dotnet/api/system.directoryservices.directorysearcher.attributescopequery?view=netframework-4.8#System_DirectoryServices_DirectorySearcher_AttributeScopeQuery

namely the line:
DirectorySearcher src = new DirectorySearcher(group "(&(objectClass=user)(objectCategory=Person))");
is not properly formed C# code.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions