Posted on Leave a comment

c# – LDAP – Retrieve a list of all attributes/values? – Stack Overflow

foreach (string propName in props.PropertyNames) { if (entry.Properties[propName].Value != null) { Console.WriteLine(propName + ” = ” + entry.Properties[propName].Value.ToString()); } else { Console.WriteLine(propName + ” = NULL”); } }

Source: c# – LDAP – Retrieve a list of all attributes/values? – Stack Overflow

Leave a Reply

Your email address will not be published. Required fields are marked *