In c# I'm trying to set the office field
When I do this:
ADEntry.Properties[ "office"].Add( "Alaska");
It says office does not exist.
Can anyone tell me where to get at this property?
Thanks,
Cal-
In c# I'm trying to set the office field
When I do this:
ADEntry.Properties[ "office"].Add( "Alaska");
It says office does not exist.
Can anyone tell me where to get at this property?
Thanks,
Cal-
Check out Richard Mueller's web site - he has tons of reference Excel sheets on what property in the AD UI maps to what underlying AD property on DirectoryEntry
.
Your concrete "office" example maps to a property called physicalDeliveryOfficeName
in the DirectoryEntry
's .Properties
collection....