473,326 Members | 2,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Adding and Changing User Roles

Hello,

I tried posting this yesterday, and I have not seen it yet this morning.
Thinking that something went wrong getting this question posted I am posting
it again. Sorry if this does end up showing up after all.

I would like to add or change to the list of user roles while the user is
logged in to my forms authentication web site.

Say for example that a user logs in to the site and gets user, project, and
accounts for their user roles. Then they go to this section on the site,
answer a few questions, then answers "yes" to some legal text, and clicks on
a submit button. At the time they click on the submit button they then get a
new list of user roles. The user roles for the user are now superuser,
project, accounts, and admin.

Currently I am storing the user roles in a cookie. I am using VB.NET.

Anything that would help me get on to a good path would be helpful, Thanks!

Charles

Nov 18 '05 #1
1 1176
Well, nevermind...

Thanks for those that thought about replying after the lunch hours!

What I did was just recreate the cookie. That seems to work out just great!

Let me know if you think that this is a bad idea....

Thanks again,
Charles
"Charles" wrote:
Hello,

I tried posting this yesterday, and I have not seen it yet this morning.
Thinking that something went wrong getting this question posted I am posting
it again. Sorry if this does end up showing up after all.

I would like to add or change to the list of user roles while the user is
logged in to my forms authentication web site.

Say for example that a user logs in to the site and gets user, project, and
accounts for their user roles. Then they go to this section on the site,
answer a few questions, then answers "yes" to some legal text, and clicks on
a submit button. At the time they click on the submit button they then get a
new list of user roles. The user roles for the user are now superuser,
project, accounts, and admin.

Currently I am storing the user roles in a cookie. I am using VB.NET.

Anything that would help me get on to a good path would be helpful, Thanks!

Charles

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Catherine Jo Morgan | last post by:
I have TblRoles and TblRoleTypes. The main reason for RoleTypes is to make it easier to categorize roles for people and organizations. For example, RoleType entries include Client roles, Climb...
1
by: Mad Scientist Jr | last post by:
I would like to write a vb.asp.net function Private Function fn_sGetRoles(byval sDelimiter as string) As String that simply returns a delimited list of all the roles a user belongs to. I...
8
by: Mark White | last post by:
Hey everyone I'm having a great deal of problems finding this information through google and yahoo, so I turn to you on this. I have a Windows app running on XP. I am able to caputre the...
3
by: tshad | last post by:
I am playing with GenericPrincipal classes and am using a sample program to test it. The problem is that even though I set the roles (which shows the roles in the Context.User as being there),...
1
by: ^MisterJingo^ | last post by:
Hi all, I've been searching the net for a way to programatically add a user to a role on successful registration. Not finding anything useful I decided to experiment and came up with the...
6
by: Matt Adamson | last post by:
Guys, I'm unsure how to use windows authentication in an intranet application. I'd like to user existing windows account to identify users however the issue I have is how to then add settings to...
3
by: =?Utf-8?B?Q2hhcmxlc0E=?= | last post by:
hi folks, I've got XP pro service pack 2 VS 2005 TSE with ASP.net 2.0 and C# I'm doing an example from Stephen Walther's so far excellent book and he has a whole load of stuff to add the...
14
by: chromis | last post by:
Hi, I've been trying to implement a more OOP oriented approach to dealing with user security on one of my websites, and I am trying to validate the user against an array of roles, however I am...
1
by: John | last post by:
Hi How can I programmatically add users and assign them to roles in asp.net membership? Thanks Regards
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.