Help - How to create new roles and assign users to each role

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Help - How to create new roles and assign users to each role

    Hi everybody,
    I've seen many examples of web.config file where I can give permission to
    users or roles, for example:

    <authorization>
    <deny users="?" />
    <allow users="*" />
    <allow roles="admin"/>
    </authorization>

    I want to use "form autentication" but I don't know how to create a role and
    how assign a user to one or more roles.

    Can anybody help me?

    Thanks a lot

    Bye, Jena



    Jena Guest

  2. Similar Questions and Discussions

    1. Restrict users from changing roles
      Is there a way to restrict users from changing roles themselves? If a user goes to My Connections and then clicks Edit, they could, in theory,...
    2. Where do you create users to add to roles?
      Hi there folks, I'm doing a trial right now using a terminal server to set this up and I can see when I"m administering the site settings on how...
    3. Users with published roles
      Hello, I am the Administrator of a school website. I am trying to get the faculty to edit their own pages using Contribute. All the faculty pages...
    4. Users and Roles? - C2 to C3 - Admin
      I am upgrading from C2 to C3. I have three sites that use Contribute. I added two of the sites so far and one site is set up differently than the...
    5. Number of Users in a role
      Hi, I am trying to work out how I can find the number of users in a role. So that I can lock the application after a certain number of users are...
  3. #2

    Default RE: Help - How to create new roles and assign users to each role

    There is a good article about using roles authentication in ASp.net at
    [url]http://aspnet.4guysfromrolla.com/articles/082703-1.aspx[/url]

    Nikolay

    "Jena" wrote:
    > Hi everybody,
    > I've seen many examples of web.config file where I can give permission to
    > users or roles, for example:
    >
    > <authorization>
    > <deny users="?" />
    > <allow users="*" />
    > <allow roles="admin"/>
    > </authorization>
    >
    > I want to use "form autentication" but I don't know how to create a role and
    > how assign a user to one or more roles.
    >
    > Can anybody help me?
    >
    > Thanks a lot
    >
    > Bye, Jena
    >
    SuslovN Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139