private static void createUser(String login, String name) { adminWsClient .wsConnector() .call( new PostRequest("api/users/create") .setParam("login", login) .setParam("name", name) .setParam("password", "123456")); }
private static void deleteGroup(String groupName) { adminWsClient .wsConnector() .call(new PostRequest("api/user_groups/delete").setParam("name", groupName)); }
private static void deactivateUser(String login) { adminWsClient .wsConnector() .call(new PostRequest("api/users/deactivate").setParam("login", login)); }