Skip to content


mike-hadlow-15below edited this page · 2 revisions

GetUsers() will return a list of all users on the broker. For example:

var users = managementClient.GetUsers();

foreach (var user in users)
    Console.Out.WriteLine(" = {0}",;

Will output something like: = guest = mike = mikey

CreateUser(UserInfo) will create a new user on the broker. For example, to create a new administrator:

var userInfo = new UserInfo("mikey", "topSecret").AddTag("administrator");
var user = managementClient.CreateUser(userInfo);

Possible tag values are: "administrator", "monitoring" and "management"

DeleteUser(User) will delete the user:

var user = managementClient.GetUser(testUser);
Something went wrong with that request. Please try again.