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
Related
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.
We are working on a site building using drupal. We have 3 different user profiles / roles.
Site Administrator (manage client admin and content)
Client Administrator (manage department admins)
Department Administrator (manage his own content)
Project Flow:
Site admin, will manage client administrator. Whereas client admin, will manage department administrator.
Since we are at the beginner level in drupal, wanted to know which module will suit the above user management.
Tried adding following modules and permissions, and not able to achieve the desired result
Administer Users by Role
Profile2
Role delegation
Role Assign
Please let us know, how to achieve this and the modules to be installed to see the expected result.
Thank in Advance,
Regards
Srinivasan
You might want to try Organic Groups module
I am developing a asp.net web site, having folders student, admin..i both student and admin folder have registration and login page, i want to know how can i access limit of admin folder pages by any user. Basically i want that the admin folder registered ppl should have access to all the pages of student section if they can login using Id, Password...but i don't want any of student to access even the login page of admin section irrespective of even any student know URl for the admin login page, registration page(because i don't want him to register at all) also i want to know ho can i again sub divide the a few limits for the some other admin. Basically i want to set roles that admin can access all web site pages but student even cant access that admin folders pages and again some different kind of admin cant access a few pages from the same admin section page please elaborate me on this how can i achieve this ?
I would recommend looking at the Role Manager that is built into ASP.Net starting with version 2.0. Rather than attempting to explain all the details I am providing the following How To from MSDN that will show you How To: Use Role Manager in ASP.NET 2.0.
Once you start using it you can then come back and post some more specific questions if you have any problems.
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.
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