Question : User.Identity.Name s not stored in table - Store Procedure

want to get the user name from active directory and store in a database field called UserID,,but i dont get nothing...
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
protected void Page_Load(object sender, EventArgs e)
    {
        authUserName = User.Identity.Name;



.
.
.
SqlCommand cmd = new SqlCommand("AddData", conn);
        cmd.CommandType = CommandType.StoredProcedure;

        cmd.Parameters.AddWithValue("@userID", authUserName);

Answer : User.Identity.Name s not stored in table - Store Procedure

That sounds like a pretty good plan to me. I use a similar setup in my home lab with a R710 16GB.

Good luck with your new system.
Random Solutions  
 
programming4us programming4us