EDIT: Thanks to the comments of @KingKing, I have found another option in this other thread and I adapted it as it follows:
public void TabPage1Permission(frmMain formMain, profile myProfile, int index)
{
if (myProfile.Equals(profile.Visitor))
{
formMain.tabControl.TabPages.Remove(formMain.TabPage1);
}
else
{
formMain.tabControl.TabPages.Insert(index, formMain.TabPage1);
}
}
With this I check if the user is a visitor or not and then I show the tab or not in my main TabControl