10-01-2012 04:36 AM
11-02-2012 10:11 AM
//start script
var luceneQuery = "@usr\\:username:\"UserNameCHANGE\"";
var userStoreReference = "user://alfrescoUserStore";
var result = search.luceneSearch(userStoreReference, luceneQuery);
result[0].properties["usr:enabled"] = false;
result[0].save();
//end script
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.