>Hi,
>
>Do I understand correctly that System.Web.Security.Membership class get the credentials from SQL Server? The reason I am asking is I wanted to test how it works and tried to get the user name using syntax
>
>this.myTextBox.text = Membership.GetUser().UserName.ToString();
>
>
>But I get error something to the extend of "could not connect to SQL Server". So I wanted to be sure that the class Membership is only applicable when using SQL Server?
No, it depends on how did you define it in web.config
If it's not broken, fix it until it is.
My Blog