[IMPLEMENTED] Add user-management endpoint to SDK

Hi all,

At the moment, the UserClient has four methods to retrieve user(s) and their information:

  • GetUserAsync()
  • GetUsersAsync()
  • GetUserResourcesAsync()
  • GetUserPictureAsync()

In the current state of the UserClient it is not possible to use the SDK to create a new user.
The UI does this via the /api/user-management endpoint and we would like to use this one too in the SDK to create users.

The request might look something like this:

public class CreateUserDto
    public string Email { get; set; }
    public string DisplayName { get; set; }
    public string Password { get; set; }
    public List<string> Permissions { get; set; } = new List<string>();

The SDK is auto generated from the OpenAPI spec and so far the user-management is not part of the spec. It was by purpose, because the admin apis are usually not used.

I have done that should be in nuget soon.

1 Like

This topic was automatically closed after 2 days. New replies are no longer allowed.