 |
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
|
|
|
|
|

March 9th, 2013, 12:14 PM
|
|
Authorized User
|
|
Join Date: Oct 2012
Posts: 27
Thanks: 4
Thanked 2 Times in 2 Posts
|
|
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.
|
|

March 10th, 2013, 04:24 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|
The Following User Says Thank You to Imar For This Useful Post:
|
|
|

March 10th, 2013, 09:01 AM
|
|
Authorized User
|
|
Join Date: Oct 2012
Posts: 27
Thanks: 4
Thanked 2 Times in 2 Posts
|
|
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.
|
|

March 12th, 2013, 03:51 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

March 15th, 2013, 06:46 AM
|
|
Authorized User
|
|
Join Date: Oct 2012
Posts: 27
Thanks: 4
Thanked 2 Times in 2 Posts
|
|
Five stars
Did it, very glad to.
Thanks for the suggestion.
|
|

March 15th, 2013, 07:03 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Cool, thanks! Did you write a review?
Imar
|
|

March 15th, 2013, 06:11 PM
|
|
Authorized User
|
|
Join Date: Oct 2012
Posts: 27
Thanks: 4
Thanked 2 Times in 2 Posts
|
|
Review
Yes, I wrote a review on Amazon. I hope to help many people to find the book they need.
|
|

March 16th, 2013, 03:27 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Cool! Thanks again.
Imar
|
|
 |
|