0 out of 1 rated this helpful - Rate this topic

String Property Type 

Active Directory uses several different syntax types to represent strings. System.DirectoryServices uses the String class to represent all of the following syntax types:

The following example shows how to read a string.

String address= ent.Properties["streetAddress "].Value.ToString();
Console.WriteLine(address);
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ