I have a simple site with a simple db.
i want the ability to have some sort of login system.
there will be 2 types of user: Admins and Non-Admins
How can i easily create a login system using my existing database.
i have read around using membership providers and using the tool aspnet_regsql.exe
but dont know too much.
i'm working in c#...
I'm working on a project that needs to authenticate users based on records in two different databases. All administrators are stored locally and require full functionality to manage their accounts (reset password, etc). Regular users are authenticated against a different database used by another web app, so I only need to check that th...
This project I'm working on requires me to keep a local db of admin users and use an external db for regular users. Anyone who passes authentication in the admin db should be assigned the 'admin' role, and anyone authenticated through the other db will always be assigned a 'user' role.
Can I manually assign these roles? I don't need t...
I would like to find a way to use custom User provider within a controllers ctor in order to not have to get the user on every method (dirty)..
This is what is in my ctor but keeps returning null?
Resource oResource;
public EntityController()
{
try
{
DataEntities oEntities = new DataEntities();
oResource = oEnti...
I have a .Net application that uses an arbitrary number of Membership providers. I will not go into the reasons, but I do not want these to be pre-configured, but I want to create and add them programmatically. Is there anyway to do this? I have no problem creating the providers, but Membership.Providers is readonly, so I can't add them....
I have setup a SharePoint site with forms authentication and My Sites. The users username displays correctly on the main site collection, however whent he user creates a My Site the user is always referred to as : for example it might be:
sqlMembershipProvider:testuser
This can be seen in this image:
http://img141.imageshack.us/img141...
Hi i am using vb.net and the .net membership provider.
i want to bring back a gridview with user account information, like GetAllUsers() does. However i want to only bring back users with certain profile information, that will be users whos profile information matches the selected value in a dropdownlist on the same page. I am using pro...
Hi!
I'm working on this project that an admin user can create some User's Groups that will be working as the project roles.
So, the admin will create a User Group named "SuperAdmin" and will select in a dropdownlist the users that will be part of this group.
I've worked before in a solution using RoleProvider and using Controller's At...
I have a site that uses the SqlMembershiprovider. Its is a webshop. The user logs on with his username and password there.
Apart from that there is controller that is responsible for displaying delivery details for orders, that are imported from another system. These orders have no connection to users in the membershipsystem. To display...
I am in the process of creating a custom membership provider for an ASP.Net MVC website. The provider is being created as a separate class as part of a bigger library. There is a need for the back-end data store to be flexible as it could be an Xml File or SQL database. My initial thought was to create an interface for the data store and...
I have a task of dealing with security on my .Net web application, the way it is to work is that if the user is logged in to Active Directory and the users AD name is in a database then they will be let in.
On the same bases if the users AD name is not in the database then they will be asked to login, with a user name and password, held...
I am trying to set minimum password requirements for my membership provider in Umbraco. Currently my web.config membership section looks like this:
<membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15">
<providers>
<clear />
<add name="UmbracoMembershipProvider" type="umbraco.provid...
I'm using the membership provider to create a new user. The membership status I return can be any value from 0 to 11, each value being a different status.
Is there a way to get a localized message from that status from the managed code? I know how to hand code it, but I wondered if it's not allready localized and ready to use from somew...
Has anyone had any experience trying to write a custom Membership Provider for the Umbraco back office? I've run into all sorts of trouble trying to make this happen. You can see some more details here:
Umbraco Issue Tracker
If you made it work, what steps did you take and how did you make it get along with the umbracoUsers table in th...
Hello all,
I have a web service(.asmx) that is written in .NET. There are two methods in it; Login() and Add().
Login() gets username and password, validates user via ASP.NET membership provider.
Once the user is authenticated, Add() web service method can be called(there is authentication and role check).
I have following attributes ...
First off, I'm not entirely sure that my question title is very descriptive, so my apologies for that.
I am working on a new site and will be using the MembershipProvider system (well, a custom implementation anyway), and I've run across a unique problem. Since the machine I'm developing this on is hooked up to my employers ActiveDirec...
Where can I get a list of all the configuration properties for the Membership provider that can be added to the web.config, i.e.
<membership defaultProvider="MembershipProvider">
<providers>
<clear/>
<add name="MembershipProvider" type="Providers.MembershipProvider, Providers" description="membership provider" passwordFormat="...
I am currently converting a very old, but working classic ASP site to ASP.Net.
It has a completely custom written user management system. Whilst it works fine, it really needs a refresh as I want it to be more flexible for some future projects in the works.
When I asked someone about this, they said "You need to use the Microsoft Provi...
Does anyone know if it's possible to use an ASP.NET membership (and role) provider in a non-web app (ie in a desktop C# app)?
Related question -- is there an LDAP membership provider (it looks like SharePoint has one, but I don't think it's the same as the ASP.NET provider). I'm sure the Active Directory one is probably close, but I'm ...
I am working on a web application that has strict security and auditing requirements (HIPPA stuff). So we are evaluating whether we should build our own custom membership and role providers or whether there is a commercially available component that we can buy.
If you have any experience (good or bad) with third party Asp.Net membershi...