static public void CreateRole(string tenantName, string roleName) { using (BasicChannel channel = new BasicChannel()) { channel.CreateRole(tenantName, roleName); } }