Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
System.DirectoryServices API Element Differences

System.DirectoryServices API Element Differences

The following table lists the differences in the System.DirectoryServices programming elements when you use them to program for ADAM. For more information about the programming element, click the element name.

Programming elementDifference
ADS_OPTION_ENUM enumerationTwo values, ADS_OPTION_PASSWORD_PORTNUMBER and ADS_OPTION_PASSWORD_METHOD, added to facilitate the setting of passwords.
Note  To use these elements, you must use the DirectoryEntry.Invoke method. For more information, see Invoking ADSI.
ADS_PASSWORD_ENCODING_ENUM enumerationEnumeration added to facilitate the setting of passwords.
Note  To use this element, you must use the DirectoryEntry.Invoke method. For more information, see Invoking ADSI.
DirectoryEntry classPath property includes a port number to specify an ADAM instance. For more information, see LDAP ADsPath.
IADsUser::ChangePassword and IADsUser::SetPassword methodsBefore using these methods, you must use the IADsObjectOptions::SetOption method to set port number (ADS_OPTION_PASSWORD_PORTNUMBER) and method (ADS_OPTION_PASSWORD_METHOD).
Note  To use these elements, you must use the DirectoryEntry.Invoke method. For more information, see Invoking ADSI.
IADsAccessControlEntry::get_Trustee and IADsAccessControlEntry::put_Trustee methodsADAM security principal names use a string security identifier (SID) rather than a friendly name.
Note  System.DirectoryServices does not support the IADsAccessControlEntry interface or the IADsAccessControList or IADsSecurityDescriptor interfaces.
MiscellaneousThe WinNT, NDS, and NWCOMPAT providers do not apply for ADAM.

 

 

 

Show:
© 2015 Microsoft