Enabling the button visibility for different accounts
<p>I'm currently working on a website that requires me to enable validation for different accounts. </p>

<p>I have 2 accounts - Admin and User. </p>

<p>My Admin account is able to view all the functions available in the website, but the User is only allowed a few functions. </p>

<p>What I have in mind is to disable the visibility of a button - btnUpload.</p>

<p>Below are the codes that I've came up with so far.</p>

<pre><code>       Mp.Mp login = new Mp.Mp();
        bool result = login.AuthenticateUser(tbxUsername.Text, tbxPassword.Text); 
        if (result == true)             {
            Session.Add("Session_name", tbxUsername.Text);
            //Session["Username"] = tbxUsername.Text;
            Response.Redirect("Index.aspx");
        }
</code></pre>

<p>I need help with the visibility of buttons to ensure that btnUpload appears only to Admin and not User.</p>
