Solved

Is Active Directory ExtensionAttributes9 a field in user object and how to retrieve it in the class type userprincipal?

Posted on 2015-01-14
2
125 Views
Last Modified: 2015-01-15
Hi, I'm using VS2012.

I want to use this ExtensionAttributes9 field to store date value for each user object.  I use UserPrincipal class, a collection of these objects are then bind to a gridview control.  Is ExtensionAttributes9 a field in AD user object?  How can I access it and bind to the gridview?

If this field isn't available then what other field can use?

Thank you.
0
Comment
Question by:lapucca
2 Comments
 
LVL 78

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
Comment Utility
you have to extend the schema to add what you want. For those attributes to be present in your Active Directory schema, you need to have the Exchange schema extensions installed with the Exchange setup /PrepareSchema
http://bit.ly/1DHBaKx
0
 

Author Comment

by:lapucca
Comment Utility
That's sounds complicated involving Exchange.  I thought these are just extra fields in AD that we can use.  

I'm thinking what about if I use the "Info" field in user object(Under Telephone tab) but I don't think that field shows up in the in intelisens of UserPrincipal object.  How can I access that field?

Thank you.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now