Define custom roles - asp.net

I am developing a content management Site and define custom roles.
Can anyone tell me the way how to get defined custom roles for my members and subsequent Menus for these roles and how to manage all these?
Please note: We are not using Asp.net Membership Provider, we have to apply our custom roles.

Here is a tutorial on the Membership and Roles providers in ASP.NET.
http://www.odetocode.com/Articles/427.aspx

Related

Using custom membership provider users as Umbraco content editors

I am building a new MVC website with security managed by a default membership provider. The site will use Umbraco 7 for its structure and a certain amount of content editing but the core of the site will be a bespoke ASP.NET MVC application with its own users and business rules around user accounts.
Umbraco has its own membership provider. Certain users in my site will also be content editors in Umbraco, but I don't want them to have to login to Umbraco separately. Is this possible? I should point out I don't want to use Umbraco to manage the bulk of my site's users who will have nothing to do with content editing.
I've read a lot about extending the UmbracoDefaultProvider, but this always presupposes that all user accounts are being managed by the Umbraco back office.
Any guidance appreciated.
Edit:
Having analysed this a bit further (I'm still pretty new to Umbraco) I'm asking if it's possible to link member types with user roles, so an authenticated member can access the Umbraco back office and edit content. In my proposed system I'll have people who have a role in the main website (Umbraco 'members') who will also be responsible for content editing (Umbraco 'users'). Seems silly that they have to log in separately for each of these responsibilities but from research it seems to be impossible. Would be grateful if anybody could confirm.
As Umbraco has it's own UI for managing the contents, its so unlikely to provide a separate place for some users that they want to change the contents as well.
You can develop a custom control panel interact with Umbraco separately for specific types of users but its just a duplication of some features of Umbraco backoffice.

Creating membership based website using drupal

Using drupal,I am creating a registration based website that has four membership plans.
Based on the selected membership plan, users have to pay the membership fee using any payment module.
How can I create membership plans and this kind of payment functionality?
There is a module called lm_Paypal http://drupal.org/project/lm_paypal . Use that module . This module can assign change roles of users also, after payment
You can make use of following links for creating membership website using drupal :
You have to use ubercart for this.
1) http://10kwebdesign.com/10kblog/step-step-setting-membership-community-site-using-drupal
2) http://www.leveltendesign.com/blog/rachel/how-create-memberships-drupal-ubercart#.UPjnmsXMgqY
If you are willing to pay for it then just go for "Membership suite module" on http://www.moneyscripts.net/. This is a paid module and is well documented.

Custom Membership Provider with custom login and registration forms

I successfully implemented a custom membership provider and I'm able to login and register users via the Login controls and the CreateUserWizard controls.
But what I'm trying to acomplish is to create a custom login form on an aspx page with the same functionality as the login control. I will also need to create a "user administration" page where users can edit their own information and change their password. This functionality is not possible with just the vanilla Login controls. Is it possible to implmenet my own forms that use the custom membership provider?
To answer your question... Yes, it certainly is possible :) You might try adding some specific issues you're having to make your question more constructive.

sample c# code to manage roles with roles provider

i want to implement asp.net role provider to assign users over my LAN to roles and have my asp.net intranet app implement security based on roles.
i dont want to use VS to manage this with the built in tools but rather hand this off to users to manage themselves. i want an admin folder with a page(s) for admin roles to be able to create/edit roles and manage users in roles... this way an admin can add a domain user (MyDomain\Username) to a role such as ProojectManager or Tester or Developer... and users wont need to contact me for these tasks...
can anyone provide me a link (or some sample code) to some sample i can use to admin roles and users over a LAN in asp.net with c#?
thanks
4GuysFromRolla have a nice sample on creating your own website admin tool. :-)
https://web.archive.org/web/20210306174425/https://www.4guysfromrolla.com/articles/052307-1.aspx
And here's another....
http://www.beansoftware.com/ASP.NET-Tutorials/Web-Site-Administration-Tool.aspx

asp.net membership - let admin users manage the site in terms of roles

is there a way i can let the admin users of my site manage roles of other users. I see the asp.net membership tool but that seems to be just for developers of the site. i want a situation where i can give one user admin role and let him manage all of the other role details of the other users so they dont have to come back to me for entitlement changes
Both the ASP.net membership provider and Role manager provide APIs which make it very simple to roll you own management app.
Membership API
Role Manager API
Unfortunately you'll have to write it yourself or buy a component. The default Membership provider has a well documented API so it shouldn't be too difficult if you just want to allow users to manage roles.

Resources