White Papers
Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux  Version: 2.1.0 
22 
 </wsman:SelectorSet> 
 </wsa:ReferenceParameters> 
 </n1:Job> 
 <n1:ReturnValue>4096</n1:ReturnValue> 
</n1:ApplyAttributes_OUTPUT> 
5.3.3  Modify Account State (using iDRAC Attributes) 
When the account setting capability allows, the user account may be enabled or disabled by invoking 
the method ApplyAttributes() method on the Enable property. Confirmation of the change can be 
obtained by enumerating the DCIM_iDRACCardString class(Section 19.6). 
EXAMPLE: 
wsman invoke -a ApplyAttributes "http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_ 
iDRACCardService 
?SystemCreationClassName=DCIM_ComputerSystem, 
CreationClassName=DCIM_iDRACCardService,SystemName=DCIM:ComputerSystem,Name=DCIM:iDRACC
ardService"  
-h $IPADDRESS -V -v -c dummy.cert -P 443  
-u $USERNAME -p $PASSWORD -j utf-8 -y basic 
-J DracCard_AccountChange.xml 
The input file, DracCard_ AccountChange.xml, is shown below: 
<p:ApplyAttributes_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_iDRACCardService"> 
 <p:Target>iDRAC.Embedded.1</p:Target>  
 <p:AttributeName>Users.4#Enable</p:AttributeName>  
 <p:AttributeValue>Enabled</p:AttributeValue>  
 <p:AttributeName>Users.4#Password</p:AttributeName>  
 <p:AttributeValue>PASSWORDHERE</p:AttributeValue> 
 </p:ApplyAttributes_INPUT> 
OUTPUT: 
When this method is executed, a jobid or an error message is returned.  
ApplyAttributes_OUTPUT 
<n1:ApplyAttributes_OUTPUT> 
 <n1:Job> 
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address> 
 <wsa:ReferenceParameters> 
 <wsman:ResourceURI>http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_LifecycleJob</wsman:ResourceURI> 
 <wsman:SelectorSet> 
 <wsman:Selector Name="InstanceID">JID_001299683957</wsman:Selector> 
 <wsman:Selector Name="__cimnamespace">root/dcim</wsman:Selector> 










