Active Directory(AD) is a service developed by Microsoft that provides a centralized way to manage all your network machines, users, and resources in one place.
Use Case
Prerequisite
Common keys in Request data,
Keys | Description |
task_details | A JSON object that contains details of the task. |
ad_host | Location of the AD. |
ad_dn | Distinguished Name of AD. |
activity_name | Name of the activity performed in AD. |
task_name | A system-defined name for the respective modules. 'ad_task' is the task name for Active n Directory. |
credential | A JSON object that contains the name of the AD server credential. |
name | Name of the AD server credential. |
object_name | Name of the object. |
object_type | Type of the object. |
organization_unit | Name of the OU. |
properties | A JSON object that contains additional information related to the user. |
objectClass | Category/type of the object. |
givenName | Display name of the user. |
user_name | Login name of the user in AD. |
password | Password of the user. |
To add a new user to the Active Directory in a private network.
Request data
{"task_details": {"ad_host": "<HOST_NAME>","ad_dn": "<DN OF THE AD MACHINE>","activity_name": "create_object","object_name": "<OBJECT_NAME>","organization_unit": "<ORGANIZATION_UNIT_NAME>","object_type": "user","properties": {"ObjectClass": "user","givenName": "<DISPLAY NAME OF THE USER>"}},"task_name": "ad_task","credential": {"name": "<CREDENTIAL_NAME>"}}
To add a new computer to the Active Directory of the client's network.
Request data
{"task_details": {"ad_host": "<HOST_NAME>","ad_dn": "<DN OF THE AD MACHINE>","activity_name": "create_object","object_name": "<OBJECT_NAME>","organization_unit": "<ORGANIZATION_UNIT_NAME>","object_type": "computer","properties": {"ObjectClass": "computer","givenName": "<DISPLAY NAME OF THE OBJECT>"}},"task_name": "ad_task","credential": {"name": "<CREDENTIAL_NAME>"}}
Request data
{"task_details": {"ad_host": "<HOST_NAME>","ad_dn": "<DN OF THE AD MACHINE>","activity_name": "create_object","object_name": "<OBJECT_NAME>","organization_unit": "<ORGANIZATION_UNIT_NAME>","object_type": "group","properties": {"ObjectClass": "group","givenName": "<DISPLAY NAME OF THE GROUP>"}},"task_name": "ad_task","credential": {"name": "<CREDENTIAL_NAME>"}}
To add a user under a group in the Active Directory of the client's network.
Request data
{"task_details": {"ad_host": "<HOST_NAME>","ad_dn": "<DN OF THE AD MACHINE>","activity_name": "add_user_in_group","user_name": "<USER_NAME>","group_name": "<NAME OF THE GROUP>"},"task_name": "ad_task","credential": {"name": "<CREDENTIAL_NAME>"}}
where,
To disable an existing user in the Active Directory.
Request data
{"task_details": {"ad_host": "<HOST_NAME>","ad_dn": "<DN OF THE AD MACHINE>","activity_name": "disable_user","user_name": "<USER_NAME>"},"task_name": "ad_task","credential": {"name": "<CREDENTIAL_NAME>"}}
To enable a disabled user in the Active Directory.
Request data
{"task_details": {"ad_host": "<HOST_NAME>","ad_dn": "<DN OF THE AD MACHINE>","activity_name": "enable_user","user_name": "<USER_NAME>"},"task_name": "ad_task","credential": {"name": "<CREDENTIAL_NAME>"}}
To unlock the user, who has been locked due to multiple incorrect password entries.
Request data
{"task_details": {"ad_host": "<HOST_NAME>","ad_dn": "<DN OF THE AD MACHINE>","activity_name": "unlock_account","user_name": "<USER_NAME>"},"task_name": "ad_task","credential": {"name": "<CREDENTIAL_NAME>"}}
Request data
{"task_details": {"ad_host": "<HOST_NAME>","ad_dn": "<DN OF THE AD MACHINE>","activity_name": "reset_password","user_name": "<USER_NAME>","password": "<PASSWORD>","is_unlock_account": true,"is_user_reset_password_next_logon": true},"task_name": "ad_task","credential": {"name": "<CREDENTIAL_NAME>"}}
where,
is_unlock_account - If the user account is locked, whether to unlock it while resetting the password.
true - to unlock the account
false - to not unlock the account
is_user_reset_password_next_logon - After resetting the password, whether to make it mandatory for the user to reset the password during his next login.
true - Password has to be reset during the next logon
false - not necessary to reset the password again during the next logon
Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.
If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.
You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.