I want do get Active Directory Properties from a user and I want to use System.DirectoryServices.AccountManagement.
System.DirectoryServices.AccountManagement
my code:
public static v
If you want to change the proppertie dont forget to call userPrincipal.save() after you changed the value.
entry.Properties["company"].value = company; userPrincipal.save();