Text file | Create Admin Units
Rule description
This rule queries the specified text file data source that is in a comma-separated variable format (CSV) and creates new Active Directory Admin Units according to the Action section settings.
NOTE: The data source text file must be in the comma-separated values format (CSV). CSV-file should be in UTF-8 format in case of using letters with an accent: á, ä, é, í, ö, ü and etc.
When to use this rule
Use this rule when you need to perform bulk creation of Active Directory Admin Units and corresponding delegation rules.
The Admin Units will get created based on the input file, and the delegations will be created with the same web queries and actions as defined in the existing delegation rule scopes, that is used to copy from.
The Query source text file requires the following CSV (comma-separated value) format:
AdminUnitName, ScopeDN, TrusteeDN
Admin Unit1,"OU=Ohaio,DC=company,DC=com","CN=Group1,OU=Users,DC=company,DC=com"
Admin Unit2,"OU=Ohaio,DC=company,DC=com","CN=Group2,OU=Users,DC=company,DC=com"Rule settings
Query section
| Setting name | Description |
|---|---|
Select Data Source |
Specify the text file to be imported. The […] (three dots) button allows the user to browse for the file and the Create/Edit button allows the creation or editing of the existing file in the built-in Data Source editor. |
More Options | |
Filter CSV Data |
This setting specifies the filter that can remove data rows from the imported text file that satisfies the specific condition. |
CSV file delimiter |
Specify CSV file delimiter. |
Initialization Script | |
Script |
Usually, rules use query criteria to limit the query search scope. It improves the performance of the executed rule. Due to the PowerShell limitations, it is not possible to use calculated expressions in query criteria. That is the point where the initialization script can help. You can initialize a global variable in this setting and then use it in query criteria. IMPORTANT: To use a variable, declared in the initialization script, in the query scope, it must be global: Example: Update AD users, created in the last ten days.
|
Action section
| Setting name | Description |
|---|---|
Delegation rule to use as a template |
Select from the list a delegation rule that you want to use as a template. To select a delegation rule you should have at least one rule created in the Cayosoft Administrator Console under Configuration > Roles > Web Administrators. The template delegation rule must have default Active Directory scope: default Admin Unit, Web View, and Actions. |
Delegation rule name |
Specify the delegation rule name that will be created by the rule. |
More Options | |
Create delegation rule for each new Admin Unit |
Specify if you need to create delegation rule for each new Admin Unit. |
Output section
This section defines the output format of this rule.
To get more information about this section, please see the Rule Output section article.
Enforce/Schedule section
This section defines the schedule for how often to run the rule.
To get more information about this section, please see the Rule Enforce/Schedule section article.
Comments
0 comments
Please sign in to leave a comment.