Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
453 views

How can I remove email and other extra fields from User table in ASP.NET boilerplate?

I have a ASP.NET boilerplate project, and the user's login/register has to be based on OTP code. So there are several redundant fields in User table, including Email and IsEmailConfirmed. I tried not ...
Maddie's user avatar
  • 414
0 votes
0 answers
76 views

ASP.NET User Permissions through Policies

I am in the process of creating a web application that allows users to add, edit and share content and need some help understanding how to set permissions for the content. Here is the setup: There ...
user57029's user avatar
0 votes
1 answer
1k views

Activate/Deactivate user in user management system with asp net mvc

I have this in my Account controller : public ActionResult UserActivation(string UserName) { setLanguage(); MembershipUser user = Membership.GetUser(UserName); if (user != null) { ...
Biljana's user avatar
  • 21
3 votes
2 answers
15k views

How could I use ApplicationUserManager in ASP.net?

I have created a controller named ProfileContoller in my application. In this controller I need to creat an instance of ApplicationUserManager however I don't know how to create a new instance of it. ...
H. Pauwelyn's user avatar
  • 14.3k
0 votes
1 answer
102 views

Accessing info from database asp.net mvc 5

I have added as below to get some more user info, and updated the database, it all works as it should, however im trying to add in the index view of manage folder so that the FullName, birthdate and ...
Per Källström's user avatar
0 votes
1 answer
73 views

How to manage multiple connections for different users

i am working on a CMS solutions for real estate agencies. so different users/groups will use the same tool. i created 1 asp.net membership Database where i manage ALL users. The users are grouped in ...
user3568918's user avatar
0 votes
1 answer
241 views

Login System & Storage

I'm writing a simple asp.net application with the entity framework and mvc. I started with a template which actually includes a simple account creation and login system. However I wish to store ...
Dale Fraser's user avatar
  • 4,730
1 vote
1 answer
2k views

ASP.NET Identity v2.0 IdentityUser properties missing

I've been using ASP.NET identity 1.0 in my previous application and by following simple tutorials like this did manage to implement custom properties into my user class: public class CustomUser : ...
Bartosz's user avatar
  • 4,592
0 votes
1 answer
196 views

Filter gridview according to user and its role - in .net 4 web appication

I am developing a web site where I show grid view with customers in the left side. currently I show all the customers from the DB. The user can click on a customer to show his details. The customers ...
user1902346's user avatar
3 votes
1 answer
12k views

Get URL of Referer page in ASP.NET

I am working on an ASP.NET project and currently struck in something. Basically, I have three different levels of users 1. Admin 2. DMV 3. Caller All the users have their respective directories, and ...
Cyberpks's user avatar
  • 1,421
2 votes
2 answers
896 views

ASP.NET - with multiple sites sharing the same database, how can I manage the username a password?

I have multiple websites and a Windows app that share the same database. Is there a way that I can manage the database username and password across all web.configs and app.configs? I'd like to be able ...
u84six's user avatar
  • 4,911
0 votes
1 answer
2k views

tiny custom role management for asp.net mvc 3

I chose to do a school project with asp.net mvc3 and there is a need of a user/role management. I think the membership that ships with asp.net is way too big for a school projec. SO my thought is this....
black sensei's user avatar
  • 6,657
1 vote
1 answer
252 views

How to prevent a user from signing in from more than n computers in asp.net

I am looking for a way to prevent my web site users, who sign on with a pair of username passwords after their registration, from logging in from multiple computers. Actually i am looking for a way to ...
Farshid's user avatar
  • 5,344
1 vote
1 answer
146 views

ASP.NET to SQL Server Credentials

I am currently working on converting a Windows Desktop application to a Web Site/Application. The data structure for the entire application is stored in SQL Server databases. Each database represents ...
mbm29414's user avatar
  • 11.6k
2 votes
1 answer
1k views

User management in Silverlight, create custom UI or use ASP.NET website administration tool?

I'm creating a silverlight for line of business application, and I'm using Forms Authentication. For user management, I'm deciding between using the built-in "ASP.NET Web Site Administration Tool", ...
AbdouMoumen's user avatar
  • 3,854
0 votes
4 answers
1k views

"Role Management" vs "User Management" in ASP.NET

Question No 1 I am familiar with role management, a particular member in a particular role can do this and access this functionally. What I need to do is Manage individual user, not the role he is ...
TheTechGuy's user avatar
  • 17.3k
2 votes
2 answers
486 views

How do I manage ASP.Net users on a non development server?

In Visual Studio 2010 there is a handy tool for managing users for my Silverlight Business Application. How do I do this with my deployed application?
Jordan's user avatar
  • 9,891
0 votes
3 answers
569 views

Check if user is allowed to see the web page in asp.net

Depending on user permissions some pages will be available to him, and others not. We created the base page that inherits the System.Web.Ui.Page, and all pages inherit this page. In Page_load event (...
This is it's user avatar
1 vote
3 answers
563 views

One user, two user groups, first group access allowed, second group access denied, how to resolve conflict?

There is a system (windows, asp.net application, linux, whatever...), in this system many user groups exist in the system. We have one user in two user groups A and B. In user group A access to folder ...
This is it's user avatar
0 votes
3 answers
1k views

User management in asp.net without using cookie or session

Is it possible to perform user management (store user info, login , logout etc) without using session or cookie? Thanks in advance.
Aditya Singh's user avatar
  • 9,602
3 votes
4 answers
2k views

is it possible to use iis 7 to manage users when using forms authentication with asp.net

I have an ASP.NET web application that is using forms authentication. Everything is configured and working correctly. However, i'm dealing with the issue of creating and maintaining users and role ...
yamspog's user avatar
  • 18.3k
1 vote
1 answer
1k views

Using asp.net, how do I redirect a user and change the POST data at the same time?

I have a single sign-on solution, meaning that the user will login to one site and be redirected to another. When I redirect the user I want to pass along a key that can be used to verify the user's ...
Mark Rogers's user avatar
  • 97.6k
0 votes
1 answer
216 views

ASP.net sessions, interacting with NHibernate

I have a question about how to keep the current ASP.net/User's session during the duration of a user's visit. What is the best way to keep the current User object? Currently I am keeping it as a ...
monksy's user avatar
  • 14.2k