0

Dears,
I have a problem with belows code:

mySearcher.Filter = "(&(objectClass=user)
        (|(cn=" + objectName + ")(sAMAccountName=" + objectName + ")))";

i receive errors: NEWLINE IS CONSTANT.
Can you tell me whats wrong with that code?

THX in advance!

1
Contributor
1
Reply
4
Views
7 Years
Discussion Span
Last Post by VasquezPL
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.