Last post Dec 10, 2009 02:34 PM by rpv
Dec 10, 2009 02:34 PM|rpv|LINK
In my ASP.net application, I have a method to get the login user's details. This method populates many of the AD attributes like givenName, initials, sn, st, wfc-AccountingUnit and sAMAccountName. I am able to get the values successfully from AD into my
application. I could not find the attribute that gets the domain of the user. True, it is available as part of 'ADsPath', but was wondering if there is a separate attribute to identify the domain alone. I tried to populate the 'dn' attribute( distinguished
name), but the value for this attribute was null. How do I get the domain name under which the user exists. Thank you.