Security :: Create Different Profiles For Different Members?

Nov 10, 2010

I have searched for an answer to my problem and could not find an answer anywhere.

I am rebuilding a website (converting it to use masterpages, usercontrols, asp.net memberships, etc using asp.net 4.0 C#) that has two different types of users. The problem is, the two different users have different roles ie. customers and employeers. Depending
on the role the user is assigned to they will have different things that should be stored in their profile.

For instance a customer would have all the basic elements of a profile, name, address, phone, etc. But it would also have some extra stuff like, a little bit about themselves, their resume, where they went to school, etc. On the other hand an employer would
have the basic elements but it would include details such as the position, a description of the position, contact for that position, etc.

Is there any way to have multiple profiles and still use the asp.net sql membership and profile provider?

View 1 Replies


Similar Messages:

Security :: Create Users With Different Profiles Data?

Sep 26, 2010

i working on event managment registration and i need to make a roll for visitors and roll for exhibitors isitor most enter data to visitor profile with data likefirst name,last name , DOB, Mobile Number, tel , fax and exhibitor most enter data to exhibitors profile data with different data .it's easy to make it for visitor or exhibitors with one profile how to make it with different data profiles what the logic to make that

View 2 Replies

Security :: Create User Wizard And Profiles And SQL Server?

Jan 29, 2011

I'm modifying Scottgu's tutorial for adding profile information to a login.I have put in a provider tag and the profile tag parts in the web config, and hooked it up to a connection to my SQL Server DB.I have modified the create user wizard step 1 to contain extra controls to capture forename and surname. I then altered the tutorial code to match this.however, though the _CreatedUser event code fires, nothing is stored in the aspnet_Profiles table in my DB.I took the tutorial code for the display profile info page and modified it to displAy the users name, but nothing appears on the page, even though the users username appears using the loginname control.all I would like to do is display message in the master page that says 'welcome, John Doe, you are logged in as doej'

View 8 Replies

Security :: Filtering Members List / Only Members Whose Name Contains The Typed Characters Will Show Up In The Gridview?

Apr 28, 2010

Our site has a page for maintenance of existing members (e.g. adding / changing roles, etc.)This page currently uses a gridview to show a complete list of all members, based on GetMembers() method to populate it.However, as the number of users has grown to several hundred, it has become difficult to locate a particular user by paging through several pages.Is there a way to narrow down this list, maybe with a filtering textbox, so that as you start typing into that textbox, only members whose name contains the typed characters will show up in the gridview?

View 8 Replies

Security :: How To Create Members Log In Section In Aspx Website

Feb 4, 2011

I need to create a membership section in my ASPX website and I was wondering how do I start. It should be a simple member log in section, where they could register, see their profile, and upload documents once they register. Do I need to create a database for that or visual studio 2010 already has some templates included?

View 1 Replies

Security :: How To Create Separate Login Account For Members

Sep 22, 2010

I have developed a web application in which i manage details of different companies,,,for that i as admin add companies and their details in my database...right now my role is administrator in my web application

The problem is everytime i have to update company details and other information

I want companies to update their own information...

so how i can create a role and create usernames for companies so that they can login to their individual accounts and update the company information by themselves ?

One important thing of my requirement: One company can have multiple usernames accounts..

View 5 Replies

Security :: Security And Authentication - Add Information To That DataBase Only To Specific Members?

Sep 21, 2010

I have an application that has a user Login Control (provided by ASP). I am just now working with the integration of a dataBase created in MS visual studio 2010, to a developed website created in MS visual web developer 2010. My main goal is to create an authentication ticket that enables a user to be able to see a dataBase information only after that user has been successfully authenticated.

Up to now I'm able to see the dataBase when i run the website even if I'm not log-in, how i can create a home page that tells the user to log-in and once that user has successfully log-in it redirects the user to another page where the user can see the database and how I can add information to that dataBase only to specific members

View 4 Replies

Security :: Use Profiles In Aspnetdb Membership?

Feb 28, 2010

I am getting to like how to use a profiles in aspnetdb membership

But these profiles are stores in a string.

Q: How does one get this profile data into a table, or get TSQL to show data in a column format.

View 2 Replies

Security :: User Profiles Not Working Once Website Goes Live?

Dec 1, 2010

I have just put my first ASP.Net site live on the internet but im having problems with my login. When i try to login my sit is throwing an error.

The SSE Provider did not find the database file specified in the connection string. At the configured trust level (below High trust level), the SSE provider can not automatically create the database file.

I have run my script from visual studio so the profiles are there but i cant login?

View 4 Replies

Security :: SqlProfileProvider - Get All Profiles Including Custom Settings?

Jul 26, 2010

If I use System.Web.Profile.ProfileManager.GetAllProfiles, I get all profiles for users that have logged in since I implemented saving a custom profile item. A few problems I need to solve.

1) when I use the GetAllProfiles method listed above, the custom profile items are not available. For the current user, I can get the value using HttpContext.Current.Profile.Item("MyCustomItem"). I need to be able to get to all the profile items programmatically.

2) I also need to programmatically create profile items for other users (a migration to this format).

3) I cannot get to the items like the documentation says like Profile.MyCustomItem.

View 1 Replies

Security :: Custom Managing Memberships, Users, UsersInRoles And Profiles?

Oct 25, 2010

I've been using the CreateUserWizard to create my users as well as to assign them roles/permissions. My problem is that, once created, I have no idea how to edit or delete their details without using the Asp.net Website Administration Tool. Where can I get some extensive but easy to understand literature on the subject?

View 4 Replies

Security :: How To Display All Members Only

Mar 19, 2010

I have admin and member role, now i wan to do like, in the admin page, i wan to display all members only in a gridview Im using the default provider and database How should i do that?

View 5 Replies

Security :: How To Design A Members Only Section

Aug 5, 2010

What is the best way to set up a members only section where users can edit their personal information, save profile images, view friends, view images, etc...? Would it be best to create a site map for just the members only section? when changing pages within the members only section is the userid passed in a querystring or something separate?

View 4 Replies

Security :: Transfer Sql Members From Dev To Production?

May 19, 2010

Members cannot login when I move a site from development to production. I can see them in a page I made that reads the sql table.I checked the machine config file and the application name is "/" in both development and production. When I open the db in management studio I can only see new ones created during production. What gives, and how can I delete these 'ghost' users and re-create them in production so they can log on?

View 2 Replies

Can Vs.net Create Public Properties From Private Members Using Its Refactoring

Apr 12, 2010

I have like 10 private members in my class, and I was hoping vs.net could create public properties from them but can't seem to find that option in VS.NET 2008.

Is there a feature for this?

View 1 Replies

Security :: Implement Email Verification For New Members?

Oct 22, 2010

I need a good and solid email verification system for my registration page. I do NOT using createuser wizard. ;-)

View 2 Replies

Security :: Lost Access To Control Members And Roles?

Aug 8, 2010

I am working on an application that resides on a development server on our internal network. The application was originally written to use Membership and Roles. We got busy almost a year ago before the app was finished, and now we are trying to get it ready to use internally.

The login page works just fine, but I have lost the ability to controls users and roles. I am running Visual Studio 2010 Professional now on a Windows 7 VM. I can open the application fine but there is no Web Administration Tool available for me to manage users or roles. If I go to Website -> in Visual Studio, there is no option for ASP.NET Configuration in the drop down menu. It simply isn't there.

How can I regain access to manage users and roles for this application? We are using Forms authentication and the database resides on a SQL Server 2005 instance on a separate box from the web server and my local VM.

View 6 Replies

Security :: Creating Login/Members Area, Plus Hosting Options?

Jun 2, 2010

I really need some help here. I am brand new to using Visual Studio, but need to create a web page in which you must pay to register and view a Members Only page. I have followed a lot of instructions in these forums, but seem to have hit a wall.

First off, I am not able to use the ASP.NET Configuration under the Website tab. I have already created a New Web Site, selecting Visual C#, then the first option for ASP.NET Web Site. I chose File System for Web Location, etc. Long story short, I have made an ASP.NET Web Site with Basic User Login. The Login functionality is absolutely fine, I am able to view the site locally, register, and log in no problem. However, when I try to choose ASP.NET Configuration under the Website tab, nothing happens. From what I gather, I need to use the ASP.NET Configuration in order to configure membership permissions, and therefore
need to open this part of the program. In the long run, I would like to make it so that User Logins are sent via e-mail to people who have paid me and that wish to use my site, which brings me to my foreboding second problem.

I eventually need to find a web hosting service that will allow me to do all the things I have described. I was going to go with GoDaddy.com, but after doing a bit of research I realized it may not be the best option for what I am trying to do. However, through research, I have realized that VS 2010 is the best program to use for what I'm doing, but I'm in a bind because of inexperience, thus writing this question in this forum.

Any help making this web site would be greatly appreciated, I am definitely in way over my head. I have worked with computers for the last 10 years, so my inexperience is mainly with ASP programming.

Just to let you know, I have VS 2010, Visual SourceSafe, and SQL Server Express installed on this fully capable machine. What I am really looking for is someone to guide me through the process of creating this website, either through pointing me in the right direction or explaining in detail all the next steps that I must take.

View 1 Replies

Security :: Configuring Website To Dispatch Email To Enable Members Recover Their Password?

Mar 11, 2010

I have finally designed the school portal. I am having another challenge now. I have created the recover password page. But when it comes to clicking submit I recive error. How do code this so that the password will be sent to my members email.

View 2 Replies

Security :: Automatically Assigning Roles / Standard Practice For Assigning Roles To Newly Signed-on members?

May 17, 2010

Newb question: what is the standard practice for assigning roles to newly signed-on members. Is it usually manual or is there a way of automatically assigning roles. Being completely new to this, I am confronted by the issue of my site having three different roles that new members could fall into, but am unsure about how to assign each a role. I can't imagine having to go through the process manually if I have thousands of members.

View 6 Replies

VS 2010 Getting Profiles To Work

Mar 24, 2011

I am using VWD 2010 and building a site on the 3.5 framework. It's a simple site for a school club, and we need user profiles for membership information. I have been looking at This MSDN page about how to go about it. This is my current Web.config:

Code:
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" timeout="2880"/>
</authentication>
<membership>
<providers>
<clear/>
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
</providers>
</membership>
<profile enabled="true" defaultProvider="AspNetSqlProfileProvider">
<providers>
<clear/>
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
</providers>
<properties>
<add name="Name" type="String" serializeAs="String"/>
<add name="Address" type="String" serializeAs="String"/>
</properties>
</profile>
<roleManager enabled="true">
<providers>
<clear/>
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
</providers>
</roleManager>

It is more or less out of the box currently. The issue I am having is that if I try to access say, Profile.Name, I get the error that "Name" is not a member of "Profile". I have had this working before in another site, but this one is getting the better of me.what I may need to do to get this functioning properly?

View 1 Replies

How To Store State In Profiles

Feb 9, 2011

[Code]....

I get the following error : The SSE Provider did not find the database file specified in the connection string. At the configured trust level (below High trust level), the SSE provider can not automatically create the database file.

View 1 Replies

Is Possible Define Different Profiles A The Same Time

Jun 17, 2010

Is possible define different profiles a the same time?

I have two type of users in my web site and they have different properties.

Using asp.net profile is possible to define two or more profiles with distinct properties?

View 1 Replies

Best Way To Check A Setting In All Profiles?

Mar 24, 2011

Using ASP.net, is there a recommended best way to access a particular field of the profile in code. I was looking in my old Problem-Design-Solution 2.0 book, and it does it by pulling all members in the DB and then iterating through each one's profile (see code below). Is there a better way?

for each (MembershipUser user in Membership.GetAllUsers())
{
ProfileCommon userProfile = profile.GetProfile(user.UserName);
if (userProfile.mysetting == desiredValue) [code].....


Edit 1. I found that it can be done a little more efficiently than pulling members and then pulling profiles. It is possible that not all members have a profile, so if you use the following code, you'll pull all the profiles (which may be fewer in number than members, and then can iterate across it:

for each (ProfileInfo theProfile in ProfileManager.GetAllProfiles (ProfileAuthenticationOption.All)
{
ProfileCommon pc = ProfileBase.Create(theProfile.UserName)
if (pc.mysetting == desiredValue)
{
//do something
}
}

It still round trips the DB for each profile, but it may not do it as many as if we used the members...

View 3 Replies

WCF / ASMX :: How To Access Profiles From Web Services

Aug 22, 2010

I have a simeple web service set up to call from JAVASCRIPT. That works. Can someone tell me how to access profiles from a web seervice. I get arofileCommon could nt be found......I have included the following in the service but it doesn't seem to solve the problem:

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved