første xml update
[virt-orchestrator.git] / vFLOWER / content / Workflows / Library / Microsoft / Active Directory / User / Disable a user.workflow.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <workflow xmlns="http://vmware.com/vco/workflow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://vmware.com/vco/workflow http://vmware.com/vco/workflow/Workflow-v4.xsd" root-name="item0" object-name="Workflow:name=generic" id="958080808080808080808080808080803381808001175609873343b6bbd2e3eea" version="1.1.1" api-version="3.1.0" allowed-operations="fv" restartMode="1" resumeFromFailedMode="0">
3     <display-name>Disable a user</display-name>
4
5     <description>Disables a user from an Active Directory instance.</description>
6     <ref-types>(AD:User)</ref-types>
7
8     <position x="180.0" y="20.0"/>
9
10     <input>
11         <param name="user" type="AD:User">
12             <description>User to disable</description>
13         </param>
14     </input>
15
16     <attrib name="enable" type="boolean" read-only="false">
17         <value encoded="n">false</value>
18     </attrib>
19
20     <workflow-item name="item2" type="end" end-mode="0">
21         <position x="180.0" y="150.0"/>
22     </workflow-item>
23
24     <workflow-item name="item0" out-name="item2" type="task" script-module="com.vmware.library.microsoft.activeDirectory/setUserEnable">
25         <display-name>setUserEnable</display-name>
26
27         <script encoded="false">
28 //Auto generated script, cannot be modified !
29 System.getModule("com.vmware.library.microsoft.activeDirectory").setUserEnable(user,enable) ;
30         </script>
31
32         <in-binding>
33             <bind name="enable" type="boolean" export-name="enable">
34                 <description>Enable or disable?</description>
35             </bind>
36             <bind name="user" type="AD:User" export-name="user">
37                 <description>User to enable or disable</description>
38             </bind>
39         </in-binding>
40
41         <out-binding/>
42
43         <description>Allows to enable or disable a user in the Active Directory.</description>
44
45         <position x="140.0" y="100.0"/>
46     </workflow-item>
47
48     <presentation>
49         <p-param name="user">
50             <desc>User to disable</desc>
51             <p-qual name="show-select-as" type="string">live-search</p-qual>
52             <p-qual name="contextualParameter" type="void"/>
53             <p-qual kind="static" name="mandatory" type="boolean">true</p-qual>
54         </p-param>
55     </presentation>
56 </workflow>