AnsweredAssumed Answered

script javascript API in java

Question asked by litllel on Apr 21, 2016
Latest reply on May 19, 2016 by litllel
Hello guys, how can i make a script in javascript to disable user access in alfresco which can be execute in java i don't understand how i can do it i know we can use thos function in javascript API
 
if(people.isAccountEnabled("Joe")){
        people.disableAccount("Joe");       
    }
    else{
        people.enableAccount("Joe");
    }


but how can i choose the store and lauchn the search

Outcomes