I&#039;m making an ASCX page to include in some ASPX pages, but I&#039;ve noticed that when I try to inport the System.Web.Security namespace into the control, that it doesn&#039;t actually import. Works fine in ASPX pages. I need to use User.Identity.Name in my ASCX, but it won&#039;t let me. Is there a way to do this?<BR><BR>Imports System.Data.SqlClient<BR>&#060;b&#062;Imports System.Web.Security&#060;/b&#062;<BR><BR>Public MustInherit Class creditmemolist1<BR> Inherits System.Web.UI.UserControl<BR> Protected WithEvents DataGrid1 As System.Web.UI.WebControls.DataGrid<BR><BR> Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<BR> Dim cmd As SqlDataAdapter<BR> Dim cn As SqlConnection = New SqlConnection("CONNECTION STRING HERE")<BR> Dim ds As DataSet = New DataSet()<BR> cn.Open()<BR> cmd = New SqlDataAdapter("sp_XTRA_CreditMemoList", cn)<BR> cmd.SelectCommand.CommandType = CommandType.StoredProcedure<BR> cmd.SelectCommand.Parameters.Add(New SqlParameter("@iUser", SqlDbType.Int))<BR> &#060;b&#062;cmd.SelectCommand.Parameters("@iUser" ).Value = User.Identity.Name&#060;/b&#062;<BR> cmd.Fill(ds, "XTRA_CreditMemos")<BR> DataGrid1.DataSource = ds<BR> DataGrid1.DataBind()<BR> cn.Close()<BR> End Sub<BR><BR>End Class