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
132 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 81

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 40550627
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
ID: 40550646
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

690 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