static public void AddUsersToRoles(string tenantName, string[] usernames, string[] roleNames) { using (BasicChannel channel = new BasicChannel()) { channel.AddUsersToRoles(tenantName, usernames, roleNames); } }