?
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
?
135 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 82

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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

770 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