Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Membership class
Message
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01429616
Message ID:
01429617
Vues:
36
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform