Forum Discussion
Tejaswini
8 years agoIdeator I
Hi Laura
You can refer below method by replacing User with your user name and similar for Id
Innovator inn = this.getInnovator();
string aml = "<AML>"+
"<Item type='User' action= 'edit' where='[User].id='45E899CD2859442982EB22BB2DF683E5''>"+
"<logon_enabled>0</logon_enabled>"+
"</Item>"+
"</AML>";
Item res= inn.applyAML(aml);
return this;
Hope this will work in your case.