Manage Users For This Role / Manage Roles For This User Question
In the roles/user management pages there is a link called Manage Users For This Role and Manage Roles For This User respectively. I want non Admins to be able to see these pages, and currently I have it so that they can see the manage users and manage roles pages. However, when a non admin clicks on Manage Users For This Role or Manage Roles For This User link it does not display the control, just an empty page. I can get around this by giving edit rights to the page, but I do not want them to have edit rights for the page. Any ideas?
...using external SQL database for ALL membership management elements (membership, roles, profiles)
Greetings! For the last few days I have been learning the ASP.NET 2.0 membership provider system. After a few stumbles I believe I have everything working using my external SQL database. I was hoping that somebody could look at my web.config below to tell if this is the best way. Really I am wondering if there isn't an easier way to have all three elements of the membership system use the external database. Here is what I have done: .. non-relevant areas removed for brevity .. <membership defaultProvider="CustomizedPr...Roles, roles, roles
is it posible o have a role for a user to only update the content? I don't want that user to change skins or to make other admin changes...
I think if you allow a role to edit contents on a module level he wont be able to change anything else. Did you try that?
erikErik van Ballegoij, The Netherlands
if you allow a role to edit contents in a module lets say discussions module, then that role will be able to edit, delete the threads. so for a role to be able to add new thread only, do we need to write our own code?-keeara g------------------
see...Duplicate Security Roles Showing up In Security Roles Manager
Anyone have any ideas? We have had and instance of 3.0.13 with one child portal running for about a month now. A few days ago our adminstrator noticed that we have duplicate entries for security roles. For example, the Security Roles Manager shows:Name Description Fee Every Period Trial Every Period Public Auto Administrators Portal Administration False False Administrators Portal Administration False False Registered Users Registered Users &n...How do I configure my own SQL Server database for membership profile and role management.
Hi I don't want to use ASPNETDB database (default one) for membership and role seervices. I want to configure my own database. How do I do that?
please take a look at this article: Create Membership tables in another database than the standard aspnetdb.mdf.
Grz, Kris.Read my blog. Handy Firefox plugins for web developers.Workaround for non working Mark as answer buttons.
Wow...Thats cool....Thanks for the info.... if we double click on aspnet_regsql.exe it will open a wizard, through which we can configure it .... Amazing.....Thank you very much ...Membership & Role Management using Sql Database type
I am doing Membership and role management in ASP.net Whidbey. In the security setup wizard I would like to use SQL Server database type. If I select Mixed (Sql Server Authentication mode). I end up with the following message. “The following message may help in understanding the problem: Exception in configuration section handler.”
My web.config file looks like this
...Sending email to all users in Membership database / all users by role.
I am trying to send emails to ALL users in the membership database. Right now i am using this VB code to send an email in a web form. Can anyone help me with the code to send this message in the web form to everyone in my membership database? Or to all users in the database assigned to a specific ROLE? (Actually that would be better).
Protected Sub SendEmail_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles SendEmail.Click
Const ToAddress As String = "firstname.lastname@example.org,email@example.com,firstname.lastname@example.org"
Dim mm As New MailMessage(UsersEmail.Text, ToAddress)
...Creating User Account Without Default Security Role (Registered User Role)
My DNN version is 3.1.1. The portal is set to Private Registration. Unauthenicated users have access to the basic pages of the site. We require my company's current customers to register and be approved to have access to all other pages that contain information restricted to them (the major part of the site). As you know, authorizing a user account applys the Registered User security role by default and this is how I control access to the customer areas. We want to create a page that will be used by Marketing to allow potential customers by login to...Membership and Roles
Hi all, Is there a way to
allow the user choose a role from a selection you provide them with?
e.g. I have 3 types of users: admin, contractor, and landlord. Of
course I don't want them to be able to assign themselves admin role, so
how would I proceed? (I'm using C# by the way)
This is what I have so far. Please note "Roles...();" is where I am stuck:
-within my aspx page i have:
<asp:WizardStep ID="CreateUserWizardStep2" runat="server"
Title="Contractor or Landlord?">
<asp:ListBox ID="ListBox1" runat=&q...role management with membership security
/* Style Definitions */
mso-padding-alt:0in 5.4pt 0in 5.4pt;
...Security Roles and User management
I have a question concerning Sercurity roles in 2.0 beta 3.
I noticed that I am unable to delete the registered security role from user profiles where as I was able to do this in 1.x will this be the same in the final release?
I ask because I would really like to set up 3 security roles just like I currently have in 1.x:
Public - no rights other then read ony
Registered - allowed to make content changes but not move modules or add users and such
Admin - full control
Will this be possibe in 2.0? This is kind of a criticle issue for us as we are going to be using DotNetNuke f...Manage roles using Windows auth and SQL roles?
Hi, I am hoping someone can help me with this. I am VERY new to ASP.NET and VB.NET and have been thrown into the deep end in designing a web application. The app is using Windows authentication and SQL roles. That is working fine. However, I need to create an interface that allows for user role management.
I have looked at ScottGu's "Implementing Role-Based Security with ASP.NET 2.0 using Windows Authentication and SQL Server" and he shows a very basic role administration interface. I got that working, but the problem is that our AD h...AD users into SQL Membership/Roles
I know someone's thought of this before. I'm working with an AD domain and what I would like to do is be able to add users from the AD domain to various roles I have created for my app. Ideally, sql would completely manage the roles and memberships but not the user accounts -- basically check to see if they're an admin/office staff and give them extra links to play with.
Maybe you can use the active directory membership provider http://msdn2.microsoft.com/en-us/library/system.web.security.activedirectorymembershipprovider.aspxSilverlight-helpVb TipsSpace Coast .Net...Manage users and roles for users
I want to know how can i manage my users and users roles on my hosted website.
I want that admin controls (when i log in as admin) allow me to change users roles and other stuff.
Any1 have any guide or know any website that teach how to create a "admin.aspx" page to manage users and roles?
Do you have the schema ready ? If yes, are you willing to change the schema ? Are you using ASP.NET 2.0 ? If yes, you can easily do this using the administration tool in ASP.NET 2.0.
&n...Use existing databases for membership/role management
How can we use our existing databases containing users, roles ... in a new asp.net website?
Do we have to implement a new MembershipProvider from scratch?
Our users are stored in a mssql server...
thanks and greets from germany
found the answer myself, just after writing :)
can be closed....