Hello,
I am trying to get the value for msExchRecipientTypeDetails from my local active directory. I am using the following C# code. However instead of returning the integer value of the msExchangRecipientTypeDetails as a string it is returning a COM object.
Can someone explain why this is the case and help me with a solution. Every other property is returning with a value. Include msexchagneRecipientDisplayType.
Thanks
_adObject = new DirectoryEntry(DirectoryObjectString); msExchRecipientTypeDetails = _adObject.Properties["msExchRecipientTypeDetails"][0].ToString();