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
129 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 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