Directory Services |
ADSI interfaces expose many properties, such as the IADsUser properties LastName and FirstName and methods, such as SetPassword. System.DirectoryServices does not wrap all ADSI interfaces. To access the underlying methods in ADSI, use the Invoke method. For properties, you can use the InvokeMember method. This section provides code examples for using both options.
The following topics are contained in this section: