What exactly do you try to do? How do you run into this problem? The typical Openfire setup screen (shown below) does not allow you to choose a username for the admin user (it will be ‘admin’), so it is not even possible to try and add a dash in the account name there.