473,387 Members | 1,724 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,387 software developers and data experts.

Add user to roll when registering

I have created a web site and defined 3 rolls: Admin, Manager,
Employee
I would like to add all users to the Employee roll automatically when
they register.
Anybody have a suggestion or material I could read that explains how
to do this?
Most everything I read you add the user manually after they register.

I am using the standard login controls with asp 2.0

Thanks
Marty

May 15 '07 #1
2 1654
How are the roles defined? In the IIS management pages, in a database, in
some other medium?

You may want to look at using custom a custom class derived from
RoleProvider.

Someplace to start anyway.....

"Marty" <mc******@gmail.comwrote in message
news:11**********************@e51g2000hsg.googlegr oups.com...
>I have created a web site and defined 3 rolls: Admin, Manager,
Employee
I would like to add all users to the Employee roll automatically when
they register.
Anybody have a suggestion or material I could read that explains how
to do this?
Most everything I read you add the user manually after they register.

I am using the standard login controls with asp 2.0

Thanks
Marty
May 15 '07 #2
Thanks for the reply Arthur,
I defined the roles using the web administration tool in VS2005.
It is connecting to a SQL 2005 Server on a web host.
Maybe I'll have to look at using the createduser method from the
createuser control or something. I was just wondering if there was a
way to do this already defined.
On May 15, 11:19 am, "Arthur Dent" <hitchhikersguideto-n...@yahoo.com>
wrote:
How are the roles defined? In the IIS management pages, in a database, in
some other medium?

You may want to look at using custom a custom class derived from
RoleProvider.

Someplace to start anyway.....

"Marty" <mcoon...@gmail.comwrote in message

news:11**********************@e51g2000hsg.googlegr oups.com...
I have created a web site and defined 3 rolls: Admin, Manager,
Employee
I would like to add all users to the Employee roll automatically when
they register.
Anybody have a suggestion or material I could read that explains how
to do this?
Most everything I read you add the user manually after they register.
I am using the standard login controls with asp 2.0
Thanks
Marty- Hide quoted text -

- Show quoted text -

May 15 '07 #3

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

Similar topics

3
by: Nick Moore | last post by:
This may be the wrong newsgroup for this question. I'm trying to develop a container control inherited from a panel that I can 'Roll Up' and 'Roll down' on a button click. The component is to be...
13
by: Maroon | last post by:
Hi, I want to write a standard java user defined function, like this example:- select db_fun("roll"), roll from student; **db_fun() will work for all tables of the all databse here db_fun is...
3
by: Max | last post by:
I want to do something like this in the user control: Call myParentPage.BindSQL() BindSQL is a sub on the parent page. This user control will be used on multiple pages. Perhaps this is not a...
4
by: Nick Gilbert | last post by:
Hi, Is it possible to access the Session of an arbitary user from an aspx page? On an e-commerce site, I am notified of payment success via a callback from the payment server to an ASPX page...
1
by: jsmarton | last post by:
Hello All, I have been working on this assignment to do the following: 1. Modify the prototype so that once all fields are verified, cookie is added to the user's computer. 2. Block the...
4
by: Paul H | last post by:
My database is a FE/BE Access 2000 database installed on 3 XP workstations. Each user has a different model of label printing machine attached to their PCs: Workstation 1 has a Label printer...
4
by: aj | last post by:
DB2 LUW v8.2 FP 14 RHAS 2.1 I have a DB2 online DB backup that was done w/ the INCLUDE LOGS option. I am interested in restoring that backup, and rolling forward ONLY the logs contained in the...
3
by: =?Utf-8?B?TWFyY0c=?= | last post by:
I have a Server.Transfer in my asp:Login LoggedIn event handler. I am forcing transfer to a specific page since I do not want to use the ReturnURL that is in Request.Params (i.e., the user...
0
by: DanWeaver | last post by:
cant find answer to this and spent 2 hours looking including in this newsgroup! I have a web user control in my project (.ascx) the associated (vb) code (.ascx.vb) doesnt provide intellisense...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.