Updated on 2022-09-14 GMT+08:00

Adding Users

Function

Access the FusionInsight Manager interface to add users.

Example code

The following provides an example code of adding users, which uses the main method of the rest.UserManager class.

    //Access the FusionInsight Manager interface to add users. 
    operationName = "AddUser";     
    operationUrl = webUrl + ADD_USER_URL; 
    jsonFilePath = "./conf/addUser.json";     
    httpManager.sendHttpPostRequest(httpClient, operationUrl, jsonFilePath, operationName)