Delete Active Directory Object Action

Description

Deletes an Active Directory object (user, computer , printer, etc.) at the specified path.

Declaration

<AMDELETEADOBJECTLDAPPATH="text" USERNAME="text" PASSWORD="text"/>

Example

<AMDELETEADOBJECT LDAPPATH="LDAP://networkautomation.com/CN=Guest,CN=Users,DC=networkautomation,DC=com" USERNAME="administrator" PASSWORD="password" />

General Tab Parameters

Path: Allows you to choose the LDAP path of active directory object you want to delete.

Text, Required
MARKUP: LDAPPATH="LDAP://OU=TestCases,DC=networkautomation,DC=com"

  • Click Select Container to select any container or organization unit.

  • Click Select Object to select objects like user, computer, group , and contacts.

Credentials Tab Parameters

Username: Allows you to enter the name of the active directory user.

Text, Optional
MARKUP: USERNAME="username"

Password: Allows you to enter the password of the active directory user.

Text, Optional
MARKUP: PASSWORD="password"

Note: Leave these fields blank if you want to use current user's credentials. If you are trying to access the active directory information, then any Domain user is valid but in order to modify the user or group you need Domain Administrator. We recommend you use domain administrator for all the active directory actions. Refer to the following link for more information: http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol