346
iSeries / Re: Disabling Users
« on: June 25, 2018, 01:19:52 PM »
I had a second to look at this for you, heres the field youre going to want..Note there are samples in the xml dir..
[wasadmin@server xml]$ more ondemand.xsd | grep disable
<xs:attribute name="disableUser" type="yesnoString" use="optional"/>
<xs:attribute name="disableOrLockUser" type="disableOrLockUserValue" use="optional"/>
<xs:simpleType name="disableOrLockUserValue">
[wasadmin@server xml]$ pwd
/opt/ibm/ondemand/V10.1/xml
soo..disableUser="yes" in an xml file, then just arsxml update to read it..should be a piece of cake.
I've just read through ondemand.xsd to figure out fields for arsxml, it can be tricky but not too bad.
[wasadmin@server xml]$ more ondemand.xsd | grep disable
<xs:attribute name="disableUser" type="yesnoString" use="optional"/>
<xs:attribute name="disableOrLockUser" type="disableOrLockUserValue" use="optional"/>
<xs:simpleType name="disableOrLockUserValue">
[wasadmin@server xml]$ pwd
/opt/ibm/ondemand/V10.1/xml
soo..disableUser="yes" in an xml file, then just arsxml update to read it..should be a piece of cake.
I've just read through ondemand.xsd to figure out fields for arsxml, it can be tricky but not too bad.