Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
Medium Priority
?
142 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 83

Accepted Solution

by:
David Johnson, CD, MVP earned 2000 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

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…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Loops Section Overview

610 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