Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Out SaaS tenant uses Azure AD integration, when we 1st got started and to get the model and application(s) built we only needed a few users so we we through the typical, login routine to make the user known to Qlik and then went in and assigned the user resources and permissions. However now that we are wanting to open this up to MANY users I need some other way (like a way to import) to bring add these users in bulk and be able to assign them to their respected managed space(s) with the appropriate permissions.
Has something like this been developed?
Here is what I got to work not using anything other than the C#.NET built-in HTTP Client and Response objects. Note I fashoned the response uing a Json to C# converter using the response sample at <Users | Qlik Developer Portal>
HttpClient Client = new();
Client.BaseAddress = new Uri(sAPIURL);
Client.DefaultRequestHeaders.Clear();
Client.DefaultRequestHeaders.Add("Authorization", "Bearer " + sAPIKey);
//Client.Content.Add("Content-Type", "application/json");
sCommand = "users";
HttpResponseMessage Response = Client.GetAsync(sCommand).Result;
// Check for Success
if (Response.IsSuccessStatusCode)
{
QlickRestClasses.QlikUserList QUsers;
QUsers = Response.Content.ReadFromJsonAsync<QlickRestClasses.QlikUserList>().Result;
}