ASP.NET Web Site Administration Tool

C

ChiWhiteSox

Hi

on the login view control at asp.net 2.0, i just found this cool wizard tool
to setup your roles and users on the web project. My question is, how can you
set the users and roles on an existing SQL database? coz right now its
creating it separately as /~ASPNETDB.MDF file.

thanks!
 
C

ChiWhiteSox

thanks so much for the info sir.

im able to transfer all the data on my existing DB, now how do I create my
own create user / roles webpage? On the website->Config Admin tool, on
VS.NET, you use the default site to create user on the IDE mode, i'd like to
have it on my own web project so users can add and define the users
themselves .

thanks again
 
S

sloan

You can't use the WSAT. Its "local only". Which is why it super-sucks,
among other reasons.

You have to code your own pages. The good news .. is that if you do to
MSDN, the examples for these are pratically done.

Just copy and paste some stuff.

But you have to make your own

AssignUsersToRoles.aspx (<<My name for the page, this is not anything MS
specific)

type pages.

msdn has the actually aspx code for these.

example:
http://msdn2.microsoft.com/en-us/library/system.web.security.membershipuser(VS.80).aspx

has html/aspx code and also code behind for adding a user.

You just gotta keep looking for the examples.

but something with a listbox of users and a listbox of roles...and a "Add
All" "Apply" type stuff.
 
C

ChiWhiteSox

ic, thanks again.



sloan said:
You can't use the WSAT. Its "local only". Which is why it super-sucks,
among other reasons.

You have to code your own pages. The good news .. is that if you do to
MSDN, the examples for these are pratically done.

Just copy and paste some stuff.

But you have to make your own

AssignUsersToRoles.aspx (<<My name for the page, this is not anything MS
specific)

type pages.

msdn has the actually aspx code for these.

example:
http://msdn2.microsoft.com/en-us/library/system.web.security.membershipuser(VS.80).aspx

has html/aspx code and also code behind for adding a user.

You just gotta keep looking for the examples.

but something with a listbox of users and a listbox of roles...and a "Add
All" "Apply" type stuff.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top