<fuego : directoryadmin>

Description

Use this task to create or delete Roles and Organizational Units.

Example:

 <fuego:directoryadmin importFile="/tmp/fdiexport.xml">

     <deleteou name="ou1"/>
     <deleteou name="ou2"/>

     <createou name="ou3" description="ou1 description"/>
     <createou name="ou4"/>

     <deleterole name="role1"/>
     <deleterole name="role2"/>
     <deleterole name="roleParam1"/>

     <createrole name="role3" description="role1 description"/>
     <createrole name="role4" parametric="false"/>

     <createrole name="roleParam2"
          description="parametric role1 description"
           parametric="true">

           <param value="param1"/>
           <param value="param2"/>
     </createrole>

 </fuego:directoryadmin>
 <!-- Clean all the variables-->
 <fuego:directoryadmin action="clean-variables" />
 

Parameters

Attribute Description Type Required?
importfile File used to import the organization data. File Yes
action Specify what action to perform. If not set, action is defined by nested elements. String ["clean-variables"] No
haltonerror Stop the Ant build process if an error occurs. boolean No Defaults to true.

Parameters accepted as nested elements

<deleterole> ...

This element represents a role to add or delete.
Attribute Description Type Required
name Name of the Organizational Role. String Yes
refid Reference ?
parametric Whether the role is parametric or not. boolean No Defaults to false.

<imports> (Of type FileSet )

Attribute Description Type Required
refid Reference ?
file File ?
dir File ?
defaultexcludes boolean ?
followsymlinks boolean ?
casesensitive boolean ?
excludes String ?
includesfile File ?
excludesfile File ?
includes String ?

<deleteou>

Attribute Description Type Required
name Sets the name of the Organizational Unit. String Yes
refid Reference ?

<createrole> ...

This element represents a role to add or delete.
Attribute Description Type Required
name Name of the Organizational Role. String Yes
refid Reference ?
parametric Whether the role is parametric or not. boolean No Defaults to false.

<createou>

Attribute Description Type Required
name Sets the name of the Organizational Unit. String Yes
refid Reference ?