Questions tagged [sqlprofileprovider]
17 questions
9
votes
7 answers
Do most people use .NET's SqlMembershipProvider, SqlRoleProvider, and SqlProfileProvider?
Do most people use .NET's SqlMembershipProvider, SqlRoleProvider, and SqlProfileProvider when developing a site with membership capabilities?
Or do many people make their own providers, or even their own membership systems entirely?
What are the…

John B
- 20,062
- 35
- 120
- 170
2
votes
2 answers
What do the ASP.NET Universal Providers enable that the default sql providers don't?
Inside the readme file of the ASP.NET Universal providers NuGet package is this quote
The SqlMembershipProvider, SqlRoleProvider, SqlProfileProvider classes that shipped in ASP.NET through version 4 support only Microsoft SQL Server and Microsoft…

David Burela
- 444
- 3
- 11
2
votes
1 answer
asp.net User Profile: how do I add a field once the DB has Users?
My App has been live for some time now so there are many users in the db and they already have profile data attached, I now need to add an extra field to the profile.
I added the new field to my web.config file:

xhedgepigx
- 340
- 1
- 2
- 19
2
votes
1 answer
Asp.net Membership Profile FirstName and LastName (Not declared. It may be inaccessible due to its protection level )
When i created a profile and when i add items it always says not declared in the code behind!!
I tried to change the Framework of the project from Framework 4.0 to Framework 3.5 and it still didn't work.
It says FirstNamep , LastNamep are not…

FBEvo1
- 61
- 1
- 12
1
vote
0 answers
Create and use new ProfileProvider Property in Lightswitch
How can I create and get access to new Properties of ProfileProvider using Lightswitch?
I have tried this:
Modified the next section in Web.config/configuration/system.web/
…

Josafat Solis
- 11
- 1
1
vote
1 answer
Membership list all user profiles
I need to list all profiles of specific user but I cannot find how to do this.
public abstract ProfileInfoCollection FindProfilesByUserName(
ProfileAuthenticationOption authenticationOption,
string usernameToMatch
)
Returns me huge number…

Zilberman Rafael
- 1,341
- 2
- 14
- 45
1
vote
1 answer
Improve performance on ProfileManager.GetAllProfiles when using SqlProfileProvider
I am using the SqlProfileProvider to store my user profiles in an asp.net web application.
What I am looking for is a way to fetch all user profiles (I would prefer a search API, but there is not one available) with some reasonable…

Pablo
- 2,054
- 8
- 30
- 56
1
vote
0 answers
whether ASP.Net Profile Provider's GetPropertyValue() is per request method or per session method?
I like to know, when will the GetPropertyValue() Method called?
I have written a proxy pattern for sql profile provider and i tried using the profile properties in my application.
I tried both authenticated and anonymous user mode, when ever the…

Shyam
- 11
- 1
1
vote
1 answer
Modifying ProfileBase ConnectionString dynamically
I have the following code, which I want to use to modify the ProfileBase connectionString:
ProfileBase profile = ProfileBase.Create(username);
string _connectionString = (_DataModel.Connection as…

gotnull
- 26,454
- 22
- 137
- 203
0
votes
2 answers
read user profile by username
I need to retrieve from the profile of some user (which is not the one is currently logged-in)
by using the username
for example

Muhammad Nour
- 2,109
- 2
- 17
- 24
0
votes
1 answer
SqlProfileProvider - can you use Profile.GetProfile() in a project?
I am attempting to use the SqlProfileProvider in an application and can't seem to use it the way I want to. I would like to be able to simply call up a profile like this:
Profile p = Profile.GetProfile("naspinski");
p.Organization = "new_org";
but…

naspinski
- 34,020
- 36
- 111
- 167
0
votes
2 answers
alternative to profileprovider in asp.net mvc
i'm developing an ASP.NET MVC site that actually use a custom profileProvider to retrieve info (like last page visited, max number of record to view in a grid, notification via mail etc) related to a single user stored in a custom database.
I don't…

tartafe
- 401
- 5
- 19
0
votes
1 answer
is it posible to use same SqlProfileProvider for two web project?
I have an asp.net web project which uses a SqlProfileProvider for membership structure,i am calling that project A .
Can i use that membership from another asp.net project, project B ?
I've tried same connectionstring on project B, but i am getting…

Adam Right
- 955
- 6
- 17
- 35
0
votes
1 answer
SimpleMembershipProvider in WebSite with Profile
I created a new WebSite in VS2012 - NOT a project - added the connection string, created tables, and then using ASPNET CONFIGURATION created a couple of roles and an user, which in turn automatically created the appropriated tables in my database:…

Diomedes
- 634
- 11
- 24
0
votes
1 answer
Any downsides to using the ProfileProvider in ASP.NET
Are there any downsides like performance or gotchas in terms of functionality to using the built in ProfileProvider with .NET?
I will be storing office information, extra security questions, etc. Nothing to outrageous so it could be a good fit.

Todd
- 1,780
- 7
- 32
- 54