473,396 Members | 1,924 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Retrieiving from AD LDAP attribute - PhysicalDeliveryOfficeName

I'm using C# to retrieve information from AD. I was able to retrieve other AD
fields except for the PhysicalDeliveryOfficeName. I did a CSVDE export to
make sure of the LDAP attributes but it's returning nothing for the
PhysicalDeliveryOfficeName.
I followed this article
http://www.youcanlearnseries.com/Pro...DAPReader.aspx to
achieve my results.

Here is my code:
string myOffice = "";
........
case "PhysicalDeliveryOfficeName":
myOffice = values.ToString().Trim();
OfficeValueLabel.Text = myOffice;
break;

Thanks for any help!
Jun 27 '08 #1
0 1538

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: m96 | last post by:
hi, i'm trying to make a query to a ldap server (version v2 or v3 doen't matter) with c#. the query works just fine but the problem is that i can't read the custom attributes/fields, since .net...
0
by: Vincent | last post by:
Hello I'm developping an web application using ASP.Net and I Want that when i write a name i a textbox, the program give me personnals informations stored in LDAP... But i don't know if is it...
3
by: Phil Kelly | last post by:
Hi! I am trying to delete an LDAP attribute using VB.NET (2003) but cannot find any syntax that supports this operation. I need to remove (say) the 'company' attribute (not one of the mandatory...
0
by: MoogPHP | last post by:
I have been using PHP's LDAP protocal to access Active Directory in my company. Authentication, search, and attribute editing have been working great for some time. Recently, I've been assigned to...
1
by: MikeD | last post by:
Hi, I've written sone C# classes to search the active directory for users - see code below. The code works fine but is very slow when I'm iterating through the directory and getting the...
2
by: rufpirat | last post by:
Hello I'm in the middle of trying to build an "AD phone book", and this being my first try at asp.net, I have a few questions that I hope some of you might be able to help with: 1. Is it...
2
by: duncan beaumont | last post by:
Hi, - SQLserver 2000 - Yellowfin 2.4 - Windows 2003 server I have been asked to investigate seting up LDAP authentication to access our Yellowfin reporting.
1
by: Matrixinline | last post by:
Hi I have a application to search an entry in the LDAP server. I tried to run this application and it runs perfectly. But the issue is I am nnot able to Login to the server and searhc for the...
0
by: rbukkara | last post by:
Hi, I have got the following error while trying to add a user in the LDAP Directory. javax.naming.NameNotFoundException: ; remaining name 'uid=vassila,ou=People,dc=cs,dc=uno,dc=edu' I have...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.