PC Review


Reply
Thread Tools Rate Thread

A.D. directorysearcher request

 
 
=?Utf-8?B?amVqZTkx?=
Guest
Posts: n/a
 
      3rd Aug 2004
I need to get a directoryentry associated to a samaccountname.

It works in most cases, except when there are special characters in the samaccountname.

In the present case, a user has a '(' char in its samaccoutname so i escaped this char to test, but even if I don't have anymore a syntax error, the findone method return null so I wonder whats wrong.

anyway,
- does anybody know another way to do it?
- Is there is a method in .net to get from a standard string another string with good formatting to insert in an ldap request?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DirectorySearcher =?Utf-8?B?TGFtaXM=?= Microsoft ASP .NET 1 28th Aug 2007 09:24 AM
DirectorySearcher Q KA Kueh Microsoft ASP .NET 0 31st Jan 2007 02:23 AM
.net v2 DirectorySearcher robin9876@hotmail.com Microsoft VB .NET 0 18th Jan 2007 04:38 PM
If you drag a meeting request or task request from your Inbox toCalendar or Tasks, the request is automatically accepted and an acceptancereply is sent to the senders. 34345445 Microsoft Access 0 3rd Mar 2006 01:09 AM
DirectorySearcher bug? Arjan ter Horst Microsoft Dot NET Framework 1 9th Sep 2003 08:04 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:21 AM.