Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

System.DirectoryServices msExchRecipientTypeDetails getting its value.

$
0
0

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();



 


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>