Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Beginning ASP.NET 4 : in C# and VB
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 9th, 2013, 12:14 PM
Authorized User
 
Join Date: Oct 2012
Posts: 27
Thanks: 4
Thanked 2 Times in 2 Posts
Default Changing user's role on teh remote website.

I published my website and now I want to change the roles of the users. The ASP.NET Web Site Administration Tool is available on my local machine only. I asked the web site support how can I access WSAT, but they indicated me to create a new Virtual Directory in IIS, which I'm not convinced will o the job of WSAT.
Any help with this matter will be highly appreciated.
 
Old March 10th, 2013, 04:24 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Unfortunately, Microsoft doesn't have a good story for on-line Role management. The WSAT is meant for local scenarios only. Some have reported they got it to work but it's officially unsupported.

Some alternatives:

1. If you control the machine, you can use IIS Manager to manage your users.

2. You can do it programmatically using the Roles class and its methods to add and remove users from / to roles. For a simple change, you only need one line of code. For advanced scenarios you could build your own online WSAT.

3. Google for existing projects. There are some ready-made solutions out there for user management. For example, if you're using ASP.NET MVC, take a look at this:

http://netrsc.blogspot.nl/2009/04/as...anagement.html

Google may show you other ready-made solutions as well.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
07Raghav (March 22nd, 2013)
 
Old March 10th, 2013, 09:01 AM
Authorized User
 
Join Date: Oct 2012
Posts: 27
Thanks: 4
Thanked 2 Times in 2 Posts
Default Thank you

Thank you very much for your response. As always, it is very well documented and usefull.
By the way, I want to present a much larger THANK YOU for the whole book. I used almost every element presented in it to built my website. Every try-it-out worked fine and particularly valuable were the description of certain unexpected limitations and errors and their corresponding walk-arounds, which I encountered all and was so glad to know how to cope with.
The book is really very well done. Congratulations.
 
Old March 12th, 2013, 03:51 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

And thank you for your kind words. The best way to thank me (other than transferring large amounts of money into my account ;-) ) is to spread the word about. it would be great if you could tweet or blog about the book, or write a review on Amazon about it.

Up to you of course; no pressure....

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old March 15th, 2013, 06:46 AM
Authorized User
 
Join Date: Oct 2012
Posts: 27
Thanks: 4
Thanked 2 Times in 2 Posts
Default Five stars

Did it, very glad to.

Thanks for the suggestion.
 
Old March 15th, 2013, 07:03 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Cool, thanks! Did you write a review?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old March 15th, 2013, 06:11 PM
Authorized User
 
Join Date: Oct 2012
Posts: 27
Thanks: 4
Thanked 2 Times in 2 Posts
Default Review

Yes, I wrote a review on Amazon. I hope to help many people to find the book they need.
 
Old March 16th, 2013, 03:27 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Cool! Thanks again.

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloading files from website to user's PC LenexaKS ASP.NET 2.0 Professional 15 February 16th, 2008 01:20 PM
Changing attributes of domain user's apalmero VB How-To 0 November 6th, 2003 12:21 PM
Changing attributes of domain user's apalmero Beginning VB 6 0 November 6th, 2003 12:18 PM
Changing attributes of domain user's apalmero Access VBA 0 November 6th, 2003 12:15 PM
Changing attributes of domain user's apalmero Pro VB.NET 2002/2003 0 November 6th, 2003 12:12 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.