- Vue d'ensemble (Overview)
- Active Directory
- Notes de publication
- À propos du package d'activités Active Directory
- Compatibilité du Projet
- Active Directory Scope
- Get Object Distinguished Name
- Get Object Properties
- Get Objects by Filter
- Get Objects by LDAP Filter
- Is Object Member of Group
- Move Object
- Rename Object
- Update Object Properties
- Add Computer to Group
- Computer Exists
- Create Computer
- Delete Computer
- Get Computer Status
- Get Computers in Group
- Join Computer to Domain
- Remove Computer from Group
- Set Computer Status
- Unjoin Computer from Domain
- Add Group to Group
- Create Group
- Supprimer le groupe
- Group Exists
- Remove Group from Group
- Add User to Group
- Change User Password
- Create User
- Delete User
- Force Password Change
- Get Password Expiration Date
- Get User Expiration Date
- Get User Groups
- Get User Status
- Get Users in Group
- Remove User from Group
- Set User Expiration Date
- Set User Status
- User Exists
- Validate User Credentials
- Créer une unité organisationnelle
- Supprimer l'unité organisationnelle
- API Active Directory
- Guides pratiques Active Directory
- Amazon Web Services
- Notes de publication
- À propos du package d'activités Amazon Web Services
- Compatibilité du Projet
- Liste des autorisations
- Amazon Web Services Scope
- Configure Robot
- Create Instance
- Create Instance from Launch Template
- Get Instance by ID
- Get Instance List
- Reboot Instance
- Start Instance
- Stop Instance
- Terminate Instance
- Associer le volume à l'instance
- Créer des instantanés d'instance
- Créer un volume
- Créer un instantané de volume
- Supprimer l’instantané
- Supprimer le volume
- Détacher le volume de l'instance
- Obtenir les volumes d'instances
- Obtenir un instantané
- Obtenir le volume
- Obtenir la liste des volumes
- Add User to Group
- Create Group
- Supprimer le groupe
- For Each Group
- Get Group
- Remove User from Group
- Update Group
- Add/Remove Inline Policy
- Attach/Detach Managed Policy
- Create Managed Policy
- Get Managed Policy
- For Each Managed Policy
- Get IAM Identities Attached to a Managed Policy
- Get IAM Identity Inline Policies
- Obtenir des stratégies gérées par l'identité IAM
- Get Managed Policy
- Update Managed Policy
- Add Role to Instance Profile
- Create Role
- Delete Role
- For Each Role
- Get Role
- Remove Role from Instance Profile
- Update Role
- Change User Password
- Create User
- Delete User
- For Each User
- For Each User Group
- For Each User in Group
- Get User
- Update User
- Configure Logging for Bucket
- Configure Public Access to Bucket
- Create Bucket
- Delete Bucket
- Delete Bucket Policy
- Empty Bucket
- Get Bucket
- Get Bucket List
- Get Bucket Policy
- Set Bucket Policy
- Update Bucket Properties
- Copy Object
- Delete Multiple Objects
- Delete Single Object
- Download Object to File
- For Each Object in Bucket
- Get Object
- Get Object ACL
- Set Object ACL
- Upload Object from File
- Upload Objects from Folder
- Run Power Shell Command
- API Amazon Web Services
- Guides pratiques d'Amazon Web Services
- Amazon WorkSpaces
- Azure
- Notes de publication
- À propos du package d'activités Azure
- Compatibilité du Projet
- Ajouter à l'objet blob
- Attach VM Data Disk
- Azure Scope
- Configure Robot
- Copy Blob
- Créer un conteneur d'objets blob
- Create IP Configuration
- Create Network Interface
- Create NSG
- Create Resource Group
- Create Security Rule
- Create Storage Account
- Create des tables
- Create VM
- Delete Blob
- Delete Blob Container
- Delete IP Configuration
- Delete Network Interface
- Delete NSG
- Delete Resource Group
- Delete Rows
- Delete Secret
- Delete Security Rule
- Delete Storage Account
- Delete Table
- Delete VM
- Detach VM Data Disk
- Download Blob to File
- For Each Blob Container
- For Each Blob in Container
- For Each Network Interface
- For Each NSG
- For Each Row in Table
- For Each Security Alert
- Get Blob
- Get Blob Container
- Get Blob Containers List
- Get Blob List
- Get Disk
- Get Disk List
- Get RDP Files
- Get Resource Group
- Get Resource Group List
- Get Row
- Get Rows By Filter
- Get Secrets
- Get Storage Account
- Get Storage Account Key
- Get Storage Account List
- Get Network Interface
- Get NSG
- Get NSG Network Interface List
- Get Security Alert
- Get Security Rule
- Get Security Rule List
- Obtenir la table (Get Table)
- Get Table List
- Get VM
- Get VM Custom Image
- Récupérer la liste d'images personnalisées de la machine virtuelle
- Get VM Disk List
- Get VM Image by Publisher
- Get VM List
- Get VM NSG List
- Get VM Network Interface List
- Insert Rows
- Regenerate Storage Account Key
- Restart VM
- Run Script in VM
- Set Blob Tier
- Set Security Alert State
- Shutdown VM
- Start VM
- Stop VM
- Télécharger un blob à partir d'un fichier
- API Azure
- Guides pratiques Azure
- Azure Active Directory
- Notes de publication
- À propos des activités Azure Active Directory
- Compatibilité du Projet
- Répertorier tous les groupes du groupe
- Lister tous les enregistrements
- Politique de cycle de vie des listes
- Lister les utilisateurs
- List Groups
- GetGroupMembersDelta
- Obtenir les rôles d’utilisateur
- Répertorier tous les groupes d'un utilisateur
- Lister les utilisateurs du rôle
- Lister des utilisateurs dans le groupe
- Répertorier les propriétaires d'un groupe
- Rôles d'annuaire de liste
- Lister des rapports directs
- Utilisateur ajouté au groupe
- Utilisateur supprimé du groupe
- Add Group to Lifecycle Policy
- Add Member to Group
- Add Member to Role
- Add Owner to Group
- Assign License
- Azure AD Application Scope
- Azure AD Delegated Scope
- Create Assigned Group
- Create Lifecycle Policy
- Create User
- Supprimer le groupe
- Delete Lifecycle Policy
- Delete User
- For Each Direct Report
- For Each Group
- For Each Group in Group
- For Each Lifecycle Policy
- For Each Parent Group
- For Each Role
- For Each User
- For Each User Group
- For Each User in Group
- For Each User in Group Owners
- For Each User in Role
- For Each User Role
- Get Group by Id
- Get Group by Name
- Get Manager
- Get User
- Group Exists
- Is Group in Lifecycle Policy
- Is Member in Role
- Is Member of Group
- Is Owner of Group
- Remove Group from Lifecycle Policy
- Supprimer la licence
- Remove Member from Group
- Remove Member from Role
- Remove Owner from Group
- Réinitialiser le mot de passe (Reset Password)
- Set Manager
- Update Group
- Update Lifecycle Policy
- Update User
- User Exists
- API Azure Active Directory
- Guides pratiques pour Azure Active Directory
- Azure Windows Virtual Desktop
- Notes de publication
- À propos du package d'activités Azure Windows Virtual Desktop
- Compatibilité du Projet
- Windows Virtual Desktop Scope
- Create Host Pool
- Add Virtual Machine to Host Pool
- Update Host Pool
- Get Host Pool
- Delete Host Pool
- For Each Host Pool
- Get Session Host
- For Each Session Host
- Update Session Host
- Delete Session Host
- For Each User Session
- Disconnect User Session
- Delete User Session
- Send Message to User Session
- Get Application Group
- For Each Application Group
- Assign Users and Groups to Application Group
- Remove Users and Groups from Application Group
- Create Workspace
- Update Workspace
- Get Workspace
- For Each Workspace
- Delete Workspace
- API de bureau virtuel Azure Windows
- Citrix
- Notes de publication
- À propos du package d'activités Citrix
- Compatibilité du Projet
- Citrix Scope
- Get Server List
- Get Storage Repositories
- Add Tag to VM
- Add VM to Folder
- Remove Tag From VM
- Remove VM from Folder
- Delete All VM Instantanés
- Delete VM Instantané
- Get VM Snapshot List
- Revert VM to Instantané
- Take VM Instantané
- Create VM From Template
- Delete VM
- Obtenir la liste de modèles
- Get VM by UUID
- Get VM List
- Power Off VM
- Power On VM
- Rename VM
- Restart VM
- Resume VM
- Suspend VM
- API Citrix
- Guides pratiques des activités Citrix
- Déclencheurs de bureau
- Exchange Server
- Google Cloud
- Notes de publication
- À propos du package d'activités Google Cloud
- Compatibilité du Projet
- Étendue Google Cloud
- Create Bucket
- Update Bucket Properties
- Get Bucket
- For Each Bucket
- Delete Bucket
- Get Object
- Delete Object
- Copy Object
- Upload Object from File
- Download Object to File
- For Each Object in Bucket
- Create Instance
- Create Instance from Template
- Get Instance
- For Each Instance
- Start Instance
- Stop Instance
- Reset Instance
- Delete Instance
- Configure Robot
- Exécuter un script sur l’instance
- Get Project
- For Each Project
- Create Role
- Delete Role
- For Each Grantable Role
- For Each Role
- Get Role
- Undelete Role
- Update Role
- Get IAM Policy
- Set IAM Policy
- Get Secret Data
- API Google Cloud
- Guides pratiques de Google Cloud
- Hyper V
- Notes de publication
- À propos du package d'activités HyperV
- Compatibilité du Projet
- Fonctionnalités de HyperV
- Supprimer tous les points de contrôle d'une MV
- Supprimer le point de contrôle d'une MV
- Récupérer la liste des points de contrôle d'une MV
- Rétablir une MV au point de contrôle
- Passer le point de contrôle d'une MV
- Configure Robot
- Create VM From Template
- Delete VM
- Exporter une MV
- Récupérer une MV par un ID
- Get VM List
- Importer une MV
- Suspendre une MV
- Rename VM
- Réinitialiser une MV
- Resume VM
- Shutdown VM
- Start VM
- Désactiver une MV
- API HyperV
- Guides pratiques pour HyperV
- NetIQ eDirectory
- Notes de publication
- À propos du package d'activités NetIQ eDirectory
- Compatibilité du Projet
- Étendue NetIQ eDirectory
- Ajouter un objet au groupe
- Delete Object
- Get Object Distinguished Name
- Get Object Properties
- Get Objects by Filter
- Get Objects by LDAP Filter
- Is Object Member of Group
- Move Object
- Supprimer un objet du groupe
- Rename Object
- Update Object Properties
- Add Computer to Group
- Computer Exists
- Delete Computer
- Create Computer
- Get Computer Status
- Remove Computer from Group
- Set Computer Status
- Add Group to Group
- Create Group
- Supprimer le groupe
- Get Computers in Group
- Get Users in Group
- Group Exists
- Remove Group from Group
- Créer une unité organisationnelle
- Supprimer l'unité organisationnelle
- Add User to Group
- Change User Password
- Create User
- Delete User
- Force Password Change
- Get Password Expiration Date
- Get User Expiration Date
- Get User Groups
- Get User Status
- Remove User from Group
- Set User Expiration Date
- Set User Status
- User Exists
- Validate User Credentials
- API NetIQ eDirectory
- Intégration des employés
- System Center
- VMWare
- Notes de publication
- À propos du package d'activités VMware
- Compatibilité du Projet
- VMware Scope
- Get Datastore
- Get Datastore List
- Get Host
- Get Host List
- Delete All VM Instantanés
- Delete VM Instantané
- Get VM Snapshot List
- Revert VM to Instantané
- Take VM Instantané
- Configure Robot
- Create VM From Template
- Convert Template to VM
- Convert VM to Template
- Customize VM
- Delete VM
- Get VM
- Get VM List
- Power Off VM
- Suspend VM
- Run Program in VM
- Restart VM
- Rename VM
- Power On VM
- Move VM to Folder
- Migrate VM
- Obtenir la liste de modèles
- Export OVF Template
- Deploy OVF Template
- Assign Tag to VM
- Remove Tag From VM
- Assign Tag to Folder
- Remove Tag from Folder
- Créer un dossier (Create Folder)
- Get Folder
- Rename Folder
- Move Folder
- Delete Folder
- Mount Tools Installer
- Unmount Tools Installer
- Upgrade Tools
- Guides pratiques des activités VMWare
Créez un nouvel utilisateur de NetIQ eDirectory et ajoutez-le au service et au groupe appropriés à l’aide de UiPath.NetIQeDirectory.Activities.
L'exemple ci-dessous explique comment créer un nouvel utilisateur d'annuaire et l'ajouter au service et au groupe associés.
Il contient des activités telles que NetIQ eDirectory Scope, Create User, Force Password Change ou Add User To Group. Vous pouvez retrouver ces activités dans le package UiPath.NetIQeDirectory.Activities .
Création du workflow
Les packages suivants doivent être installés avant de créer le workflow ci-dessous :
- UiPath.NetIQeDirectory.Activities
- UiPath.System.Activities
- UiPath.WebApi.Activities
Voici comment le processus d'automatisation peut être créé :
-
Ouvrez Studio et créez un nouveau Processus nommé par défaut Principal.
-
Drag a Sequence container into the Workflow Designer and name it Main Sequence.
-
Select the Main Sequence container and create the following variable:
Nom de variable Types de variables Valeur par défaut ldapServerChaîne de caractères (string) ldapAdminUserChaîne de caractères (string) ldapAdminPasswordChaîne de caractères (string) -
Drag another sequence inside the Main Sequence container and name it Init Sequence.
-
Drag a Get Robot Asset activity inside the Init Sequence container.
- Add the variable
"LdapServer"inside the Asset Name field. - Add the variable
ldapServerinside the Asset value field.
- Add the variable
-
Drag a Get Robot Credentials activity below the Get Robot Asset activity.
- Add the variable
"LdapServerCredentials"inside the Asset Name field.
- Add the variable
-
Drag another sequence below the Init Sequence container and name it CreateUser Sequence.
-
Select the CreateUser Sequence container and create the following variable:
Nom de variable Types de variables Valeur par défaut userAttributesDtChaîne de caractères (string) userInitialPasswordChaîne de caractères (string) userSAMAccountNameChaîne de caractères (string) userLocationChaîne de caractères (string) userCNChaîne de caractères (string) userExistsBooléen employeesGroupChaîne de caractères (string) userDepartmentGroupChaîne de caractères (string) -
Drag another Sequence inside the CreateUser Sequence container and name it Set User Attributes Sequence
-
Drag a Multiple Assign activity inside the Set User Attributes Sequence container.
- Ajoutez la variable
userCNdans le champ À. - Ajoutez l’expression
FirstName+" "+LastNamedans le champ Valeur. - Click the Add button to add another Assign row, and add the variable
userSAMAccountNamein the To field. - Ajoutez l’expression
(FirstName+"."+LastName).ToLowerdans le champ Valeur. - Click the Add button to add another Assign row, and add the variable
userInitialPasswordin the To field. - Ajoutez l’expression
"1qazXSW@"dans le champ Valeur. - Click the Add button to add another Assign row, and add the variable
employeesGroupin the To field. - Ajoutez l’expression
"CN=Employees,OU=Employee-Onboarding,OU=Demo,DC=dev1,DC=local"dans le champ Valeur.
- Ajoutez la variable
-
Drag a Sequence container below the Multiple Assign activity and name it DT Set Extra Attributes Sequence.
-
Drag a Build Data Table activity inside the DT Set Extra Attributes Sequence container.
- In the Properties panel, add the variable
userAttributesDtin the DataTable field.
- In the Properties panel, add the variable
-
Drag a Add Data Row activity below the Build Data Table activity.
- Add the expression
{"givenName",FirstName}in the ArrayRow field. - Ajoutez la variable
userAttributesDtdans le champ Table de données.
- Add the expression
-
Drag another Add Data Row activity below the previous Add Data Row activity.
- Add the expression
{"sn",LastName}in the ArrayRow field. - Ajoutez la variable
userAttributesDtdans le champ Table de données.
- Add the expression
-
Drag another Add Data Row activity below the previous Add Data Row activity.
- Add the expression
{"department",Department}in the ArrayRow field. - Ajoutez la variable
userAttributesDtdans le champ Table de données.
- Add the expression
-
Drag another Add Data Row activity below the previous Add Data Row activity.
- Add the expression
{"title",Title}in the ArrayRow field. - Ajoutez la variable
userAttributesDtdans le champ Table de données.
- Add the expression
-
Drag another Add Data Row activity below the previous Add Data Row activity.
- Add the expression
{"telephoneNumber",Telephone}in the ArrayRow field. - Ajoutez la variable
userAttributesDtdans le champ Table de données.
- Add the expression
-
Drag another Add Data Row activity below the previous Add Data Row activity.
- Add the expression
{"mail",Email}in the ArrayRow field. - Ajoutez la variable
userAttributesDtdans le champ Table de données.
- Add the expression
-
Drag a Switch activity below the DT Set Extra Attributes Sequence container.
- Add the value
Departmentin the Expression field. - Click the Add new case field and add the value Marketing in the Case field.
- Click the Add new case field and add the value Sales in the Case field.
- Click the Add new case field and add the value Legal in the Case field.
- Click the Add new case field and add the value Accounting in the Case field.
- Add the value
-
Add a Multiple Assign activity inside the Marketing Case container.
- Ajoutez la variable
userLocationdans le champ À. - Ajoutez l’expression
"OU=Marketing,OU=Employee-Onboarding,OU=Demo,DC=dev1,DC=local"dans le champ Valeur. - Click the Add button and add the variable
userDepartmentGroupin the To field. - Ajoutez l’expression
"CN=DepartmentMarketing,OU=Marketing,OU=Employee-Onboarding,OU=Demo,DC=dev1,DC=local"dans le champ Valeur.
- Ajoutez la variable
-
Add a Multiple Assign activity inside the Sales Case container.
- Ajoutez la variable
userLocationdans le champ À. - Ajoutez l’expression
"OU=Sales,OU=Employee-Onboarding,OU=Demo,DC=dev1,DC=local"dans le champ Valeur. - Click the Add button and add the variable
userDepartmentGroupin the To field. - Ajoutez l’expression
"CN=DepartmentSales,OU=Sales,OU=Employee-Onboarding,OU=Demo,DC=dev1,DC=local"dans le champ Valeur.
- Ajoutez la variable
-
Add a Multiple Assign activity inside the Legal Case container.
- Ajoutez la variable
userLocationdans le champ À. - Ajoutez l’expression
"OU=Legal,OU=Employee-Onboarding,OU=Demo,DC=dev1,DC=local"dans le champ Valeur. - Click the Add button and add the variable
userDepartmentGroupin the To field. - Ajoutez l’expression
"CN=DepartmentLegal,OU=Legal,OU=Employee-Onboarding,OU=Demo,DC=dev1,DC=local"dans le champ Valeur.
- Ajoutez la variable
-
Add a Multiple Assign activity inside the Accounting Case container.
- Ajoutez la variable
userLocationdans le champ À. - Ajoutez l’expression
"OU=Legal,OU=Employee-Onboarding,OU=Demo,DC=dev1,DC=local"dans le champ Valeur. - Click the Add button and add the variable
userDepartmentGroupin the To field. - Ajoutez l’expression
"CN=DepartmentLegal,OU=Legal,OU=Employee-Onboarding,OU=Demo,DC=dev1,DC=local"dans le champ Valeur.
- Ajoutez la variable
-
Add a NetIQ eDirectory Scope activity below the Set user Attributes Sequence container.
- In the Properties panel, select the LDAP option from the dropdown list.
- Add the variable
ldapServerin the LDAPServer field. - Add the variable
ldapAdminPasswordin the Password field. - Add the variable
ldapAdminUserin the Username field.
-
Drag a NetIQ eDirectory User Exists activity inside the NetIQ eDirectory Scope activity.
- Select the SAMAccountName option from the dropdown list.
- Ajoutez la variable
userSAMAccountNamedans le champ Valeur (Value).
-
Drag an If activity below the NetIQ eDirectory User Exists activity.
- Ajoutez l’expression
Not userExistsdans le champ Condition.
- Ajoutez l’expression
-
Drag a Sequence activity inside the Then container.
-
Drag a NetIQ eDirectory Create User activity inside the Seqence container.
- Add the variable
userLocationin the Location field. - Add the variable
userSAMAccountNamein the SAMAccountName field. - Add the variable
userInitialPasswordin the Password field.
- Add the variable
-
Drag a NetIQ eDirectory Force Password Change activity below the NetIQ eDirectory Create User activity.
- Add the variable
userDNin the DistinguishedName field.
- Add the variable
-
Drag a NetIQ eDirectory Add User To Group activity below the NetIQ eDirectory Force Password Change activity.
- Add the variable
userDNin the UserDistinguishedName field. - Add the variable
employeesGroupin the GroupDistinguishedName field.
- Add the variable
-
Drag a NetIQ eDirectory Add User To Group activity below the previous NetIQ eDirectory Add User To Group activity.
- Add the variable
userDNin the UserDistinguishedName field. - Add the variable
userDepartmentGroupin the GroupDistinguishedName field.
- Add the variable
-
Drag a Log Message activity below the NetIQ eDirectory Add User To Group activity.
- Select the Info option from the dropdown list.
- Ajoutez l’expression
"User Created: " + userSAMAccountNamedans le champ Message.
-
Drag a Sequence activity inside the Else container.
-
Drag a Log Message activity inside the Sequence* container.
- Select the Error option from the dropdown list.
- Ajoutez l’expression
"User already exists for sAMAccountName: " + userSAMAccountNamedans le champ Message.
-
Drag a Throw activity below the Log Message activity.
- In the Properties panel, select the Error option from the dropdown button.
- Ajoutez l’expression
"User already exists for sAMAccountName: " + userSAMAccountNamedans le champ Message.
-
Exécutez le processus. Le robot crée un nouvel utilisateur d'annuaire et l'ajoute à l'unité d'organisation et au groupe du service associé.
Voici à quoi devrait ressembler le workflow dans UiPath Studio :
Voici le résultat de l'exécution du workflow :