I have the following code to convert a distinguishedName to a sAMAccountName:
Dim de As New DirectoryEntry("LDAP://" & stringDN)
Return CType(de.Properties("samaccountname")(0), String)
It works great for every DN I pass it, except for one. We have an AD group on our domain that has a "/" in it - call it "Programmers/DBAs". The DN for...
Let's say a group is created with one name. If the group is subsequently renamed, does its distinguishedName also change?
I'm looking for a way to permanently track AD objects even if their display names or other properties change.
If distinguishedName is not constant, is there something else that is?
I've seen objectguid but that se...
We are trying to reference a certificate for a client endpoint configuration in our WCF configuration file.
The configuration looks like this:
<client>
<endpoint address="https://domain.server.com/path/service.asmx"
binding="basicHttpBinding" bindingConfiguration="TestServiceSoap"
contract="..." name="...">
...