If Active Directory Object Exists Action

Description

Allows Workflow execution to flow to the next step if the Active Directory object at the specified path exists. Otherwise, Workflow execution flows to the next Else or End If step.

Declaration

<AMIF LDAPPATH="text" TYPE="text [options]" ADOBJECT="USER" OBJECTNAME="text" USERNAME="text" PASSWORD="text"/>  />

Example

<AMIF TYPE="ADOBJECTEXIST" LDAPPATH="LDAP://112.334.34.44" USERNAME="ronak" PASSWORD="AM1sDn64e7/Tzk=aME" ADOBJECT="USER" OBJECTNAME="Cindy" /></AMIF>

General Tab Parameters

Parent Path: Allows you to select the LDAP path of the parent active directory object. Usually the top most container or rootdse path.

Text, Required
MarkUp: LDAPPATH="LDAP://DC=networkautomation,DC=com"

  • Click Select Object to find the object you want to delete. When you do, this launches a standard Windows Active Directory dialog box that allows you to select the object.

  • Click Select Container to select the parent container from the domain.

Type: Allows you to select a type of object to search for. The available options are:

  • User - this is default

  • Computer

  • Group

  • Organization Unit

  • Printer

Text [options], Optional - Default "User"
MarkUp: ADOBJECT="USER"

Name: Specifies the name of the active directory object. You can use * and ? to filter the name. For example, S* will give you any user whose name starts with S in the active directory.

Text, Required
MarkUp: OBJECTNAME="Scott"

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 to 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