Directory Services |
To delete a user from a member server or computer running on Windows 2000 Professional
WinNT://sComputerName, computer
In this example, sComputerName is the name of the computer groups to access.
In the binding string, the ",computer" parameter instructs ADSI that it is binding to a computer and allows the WinNT: provider parser to skip some ambiguity resolution queries to determine what type of object you are binding to.
Be aware that you do not need to call IADs::SetInfo to commit the change to the container. The IADsContainer::Delete call commits the deletion of the user directly to the directory.