简体   繁体   中英

How Can I access extension attributes with WinNT?

I am trying to make a web application that gives the user the privilege to edit a certain extension attribute in his AD account. WinNT ("WinNT://Domain/Username,user") was chosen because it allows a losely coupled access to Active Directory objects without the need to specify a domain controller or a fully qualified domain name. The connection was successful but i wasn't able to retrieve the extension attribute "extension_attribute_10".

Will WinNT be able to access the extension attribute ? if not is there any work arounds ?

You need to specify which attributes you want to retrieve in your DirectoryServices query.

See : http://msdn.microsoft.com/en-us/library/system.directoryservices.directorysearcher.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM