0

I have created a custom attribute in attributeSchema using C#. How can I associate that custom attribute to user class in Active Directory using C#?

itsrizi
  • 201
  • 3
  • 10
  • See here for possible duplicate question: http://stackoverflow.com/questions/8927309/retrieving-custom-active-directory-properties-of-users – Botonomous Oct 24 '16 at 13:39
  • thanks, but I'm looking to programmatically associate newly created attribute to user class schema. – itsrizi Oct 24 '16 at 13:48
  • What are you trying to do? 'associate' is vague. – Botonomous Oct 24 '16 at 13:55
  • http://fkazi.blogspot.com/2013/04/creating-custom-active-directory_27.html want to do this in c#, the second part. – itsrizi Oct 24 '16 at 14:03
  • I don't think there is any native api to create custom ad attributes on the fly like you are wanting. – Botonomous Oct 24 '16 at 14:05
  • No, I have already created it using System.DirectoryServices library. now i am stuck adding this attribute to userClass schema. – itsrizi Oct 24 '16 at 14:14

0 Answers0