distinguishedname

Get distinguished name from Active Directory of currently logged in user

How can I get the distinguished name from Active Directory of the currently logged in user in C#? Check following snippet. You have pass to Identity.Name from IPrincipal . I assume that the user is already authenticated in Active Directory (ie. using standard IIS authorization methods). private...

Microsoft Exchange: How To Resolve A Distinguished Name

How can i resolve this: /O=CHEESE/OU=FIRST ADMINISTRATIVE GROUP/CN=RECIPIENTS/CN=LHALA1 to an email address? Do i have to use Exchange Web Services? Daro I'm assuming this is the legacyExchangeDN Attribute. Try something like this: string dn = "/O=CHEESE/OU=FIRST ADMINISTRATIVE GROUP/" + "CN...

What's the difference in using distinguished name with cn or uid when logging into LDAP?

I'm running into a problem using LDAP to authenticate logins. We are using a Novell edirectory for authentication of other applications like Jira. ( Jira works perfect ). I have this application that allow these basic LDAP configurations: My problem is, when I try to log in, it takes my username...