Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Showing posts with label Membership. Show all posts
Showing posts with label Membership. Show all posts

Asp.Net MVC Create Roles, Assign Roles to Users in Membership Provider

Apr 19, 2016 0 comments
Introduction

Here we will learn how to create roles and assign roles to users using membership in
asp.net mvc with example or assigning roles to users in asp.net mvc membership provider with example. Generally membership provider will provide default functionality to create roles and assign roles to users using membership database in asp.net mvc applications. In case if we want to use our own custom database for membership provider then we can use it in asp.net mvc based on our requirements.

Asp.Net MVC Create User using Membership Provider with Example

Apr 18, 2016 0 comments
Introduction

Here we will learn how to create users using membership in
asp.net mvc with example or use membership in asp.net mvc with example or how to use createuser method in asp.net mvc membership provider to create new user with example. Generally membership provider will provide default functionality to create users using membership database in asp.net mvc applications and we can use custom database for membership provider in asp.net mvc based on our requirements.

Asp.Net Membership Provider Tutorial (Create Users, Roles, Assign Roles) Examples

Apr 12, 2016 0 comments
Introduction

Here we will learn
asp.net membership provider tutorial with topics like creating users, roles, assign roles to users, edit / update / delete user details, recover user password using password recovery / change user password using changepassword control, etc.. using asp.net membership provider with examples using c#, vb.net.

Change user password using changepassword control in asp.net membership provider

Jan 8, 2012 12 comments
Introduction:

In this article I will explain
how to use changepassword control to change password in asp.net membership provider.

Description:

In previous posts I explained clearly how to create users using createuserwizard or programmatically create users using asp.net membership and I explained  how to get forgot password through email. In previous post Get forgot password through mail it will reset our password and sent randomly generated new password through mail. It’s very hard to remember randomly generated password. If we allow users to change their passwords directly that is very convenient. We can achieve this one easily by using changepassword control asp.net membership. 

Customize body of Email sent by passwordrecovery in asp.net

6 comments
Introduction:

In this article I will explain how to customize body of email sent by passwordrecovery control in asp.net membership.

Description:

In many sites we will see option like forgot password whenever we click on that option and give username or password they will send password details to our email.

Recover forgot password using passwordrecovery control in asp.net membership

Jan 7, 2012 43 comments

Introduction:

In this article I will explain how to reset or recover forgot password using passwordrecovery control in asp.net membership.

Description:

In previous post I explained clearly about create users using CreateUserWizard in asp.net membership or programmatically insert user details in membership and create or removes roles in asp.net membership and Assign roles to users .Now I will explain how to get forgot password using passwordrecovery control. 

Assign roles to user in asp.net membership

Jan 5, 2012 8 comments
Introduction:

In this article I will explain how to assign roles to users and remove roles from users and how populate user roles based on username selection in asp.net membership.

Description:

In previous post I explained clearly about create users using CreateUserWizard in asp.net membership or programmatically insert user details in membership and create or removes roles in asp.net membership. Now I will explain how to populate roles based on username selection and assign or remove roles to users based on username.

Edit,update,delete user account details in asp.net membership

Jan 3, 2012 9 comments
Introduction:

In this article I will explain how to edit, update and delete user account details programmatically in asp.net membership.

Description:

In previous post I explained clearly how to install asp.net membership database schema in SQL Server  and create users using CreateUserWizard in asp.net membership and programmatically insert user details in asp.net membership. Now I will explain how to modify user account details in asp.net membership.

Programmatically create user in asp.net membership

Jan 2, 2012 12 comments
Introduction:

In this article I will explain how to create users programmatically using asp.net membership concept.

Description:

In previous post I explained clearly how to install asp.net membership database schema in SQL Server and create users using CreateUserWizard . In this post I will explain how to create users programmatically using asp.net membership concept.

ASP.Net Create, manage and delete roles in membership

8 comments
Introduction:

In this article I will explain how to create new roles and delete roles in asp.net membership.

Description:

In previous post I explained clearly how to install asp.net membership database schema in SQL Server  and create users programmatically in asp.net membership. Now I will explain how to create new roles and delete existing roles in asp.net membership.

Asp.net login control to check user details using Membership concept

Jan 1, 2012 13 comments
Introduction:

In this article I will explain how to use Login Control to validate user details using asp.net membership.

Description:

In previous post I explained clearly how to install asp.net membership database schema in SQL Server and create users using CreateUserWizard in asp.net membership. Here I am using these two concepts to validate user details with Login Control using asp.net membership in our login page.

CreateUserWizard control to create user accounts in asp.net membership

Dec 31, 2011 8 comments
Introduction:

In this article I will explain how to create users using CreateUserWizard using asp.net membership concept.

Description:

In previous post I explained clearly how to install asp.net membership database schema in SQL Server . After install asp.net membership database
check your database everything installed and ready to use in our application or not. 

how to get userdetails from Active Directory based on username using asp.net

Mar 11, 2011 29 comments
Introduction:

Here I will explain how to get userdetails from Active directory based on username using asp.net

Description:

One day I got requirement like to get user details from Active directory based on username.

For that first create one new website after that right click on website and select Add Reference option after that select System.DirectoryServices from .NET tab and click ok now directory services reference has added to our application do you know why we have added this directory service to our application because by using this service we can get userdetails from Active directory.

how to solve Password length minimum: 7. Non-alphanumeric characters required: 1 and how to remove password restrictions, unique email requirement and question and answer options during user registration in Membership using asp.net.

Jan 23, 2011 4 comments
Introduction:

 In this article I will explain how to solve
Password length minimum: 7. Non-alphanumeric characters required: 1 and how to remove password restrictions, unique email requirement and question and answer options during user registration in Membership using asp.net.

Description:

In my previous article I explained clearly how to use Custom database for Membership and how to create user with custom database


To create user in database we need to enter password like abcd@123 then it will accept otherwise it will throw error like length minimum: 7. Non-alphanumeric characters required: 1 but I got requirement like register user without strong password restrictions and no need to enter unique email and without Question and answer options at that time I tried to remove problem by setting some properties in web.config. Follow below steps to change our application to work according our requirements.

Create asp.net membership database schema in SQL Server | Create User using CreateUserWizard control in asp.net

20 comments
Introduction:

 In this article I will explain how to install asp.net Membership database schema in Sql Server.

Description:

In one of my project I got requirement like using asp.net membership concept with custom database. First of all we learn what is asp.net membership? And why we need to use this one?

ASP.NET membership gives you a built-in way to validate and store user credentials. ASP.NET membership therefore helps you manage user authentication in your Web sites. You can use ASP.NET membership with ASP.NET Forms authentication or with the ASP.NET login controls to create a complete system for authenticating users.
By Using ASP.NET membership we can create new users and passwords and we can authenticate users who visit your site. You can authenticate users programmatically, or you can use the ASP.NET login controls to create a complete authentication system that requires little or no code and we can manage passwords, which includes creating, changing, and resetting them.

HttpContext.Current.User.Identity.Name returns null or empty string value

Jan 13, 2011 5 comments
Introduction

Here I will explain how to solve problem of HttpContext.Current.User.Identity.Name returns null or empty string value.

Dsecription

I have one requirement like getting system username based on that check the permissions of user if user has sufficient permission I need to allow that person to view the particular page otherwise I don’t want give chance to show the page for that I have written code to get username like this 

how to get username in login control using asp.net membership

Jan 6, 2011 22 comments
Introduction

Here I will explain how can we get username and userid of currently logged user in asp.net membership.

Description

I am working on application by using login control in asp.net at that time I got requirement like getting username and user id of logged in user for that I have written code like this to get logged in user username and userid in asp.net membership.

© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.