Hi,
I'm looking at the source code for the .net membership provider, and it sqlmembershipprovider.cs there are calls to EncryptPassword and DecryptPassword but I don't see the method anywhere in the source.
What algorithm are they using? Isn't the source for that released also?
...
I'm using ASP.NET Membership and noticed there isn't a method in the Roles class to modify a role (its name for instance), only to create and delete them.
Is it possible or it's not supported?
EDIT: @CheGueVerra: Yes, nice workaround.
Do you know (for extra credit :) ) why it's not possible?
...
I'm creating a control and need to pass it the current logon user as a parameter (declaratively)
I tried this but didn't work (I got "<%= User.Identity.Name %>" as value):
<cc1:MyControl id="myid" runat="server" User="<%= User.Identity.Name %>" />
Is there a way to do it?
...
I'm writing a custom MembershipProvider for a legacy database. Users are authenticated by login and password, there is no e-mail attribute attached. What is the best way to "short-cycle" the FindUsersByEmail() and GetUserNameByEmail() methods? My naive approach was to leave them unimplemented, since I assume if there is no need to restor...
Hi,
I ran aspnet_regsql.exe to setup .net membership tables etc.
What do I run to create my application so I can add users etc?
...
Was wandering if anyone uses ASP .NET membership? If you do, tell me what you think about it.
If you don't use it, Are you planning to use it on future projects? If not, why?
RWendi
...
Is the source code for the common login controls available?
Those are the controls which are available under Login section in Toolbox:
Login,
LoginView,
PasswordRecovery,
LoginStatus,
LoginName,
CreateUserWizard,
ChangePassword
Eventually could you point me to a good source of custom implementation of functionality that those ...
I am in the process of writing an application that will need multiple forms of authentication.
The application will need to support authentication to Active Directory, but be able to fail back to a SQL Membership Provider if the user is not in Active Directory. We can handle the failing to the SQL Provider in code based on the username...
I'm trying to use a generic list as a property of the users profile. I'll admit this is probably just making my life harder than it needs to be but I don't want to change the programming model just because the data store struggles.
I have this in my web.config
</providers>
<properties>
.....
<add name...
When starting a new project that required the use of membership providers I found that I could not connect to a remote database that contained the membership database.
I ran aspnet_regsql and was able to create the membership database on the remote server but when I go to ASPNET Configuration (cassini development server) it will not con...
I want to see a basic project to learn how to organize membership and role management. Can you give me some open source project link about it?
...
Does anyone have any examples of using Sqlite with ASP.NET membership? I am building a small "drop-in" type web application and don't want to rely on an SQL database for storing user credentials, etc. Sqlite seems like a good option, and I have been impressed with its performance in Elmah; I wouldn't mind using xml as a data store eith...
I am using ASP.NET membership for the authentication of my web app. This worked great for me. I now have to now implement password expiration.
If the password has expired the user should be redirected to changepassword screen and should not be allowed access any other part of the application without changing the password.
There are man...
My asp.net mvc site needs some kind of authorization but it is rather different than the usual concept of users and thus membership.
It will be used more for preferences then for authentication actually. Accounts without any password should be possible (and will initially be the only type) and an account can also be used by multiple user...
Out of the box, System.Web.Security.Membership implements a couple of search methods:
FindUsersByEmail
FindUsersByName
I'm using the WSAT project from CodePlex to administer my Membership database. The tool implements extra profile properties in a ProfileCommon class.
Let's say I have a property called Firm in the user's profile.
...
I've written a custom MembershipProvider that uses a custom database schema for storing the members, but I am having trouble figuring out how to deploy the provider. My target server is running IIS7, and I am able to navigate to a dialog for a adding a .NET User Provider, but instead of allowing me to select the assembly containing the ...
Is there any framework/library for using ASP.NET Membership Provider with confirmation email, something ready to be used ?
Standard functionality used on almost all public web sites.
...
I don't know what I am missing, but I added Profile properties in the Web.config file but cannot access Profile.Item in the code or create a new profile.
...
I want to use an existing user and user group table that the forums use. I would prefer not to have to add any additional tables (other than what the forum already has).
I will be using MS SQL.
The forums are PHP which is why I want the .net site to handle all of the logic. The forum will use its own PHP logic as I will set and remove ...
I'm using ASP.NET MVC Framwork and trying to grok the ASP Membership 3.5 stuff.
What is the best way to add the first administrator user without having to log in? I've been staring at the membership starter kit's source without finding it.
...