Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>AD supports the concept of a group being a member of another group?</p> <p>So you could have the following:</p> <p><strong>Users:</strong> Anne, Bob, Charlie, Douglas, Elliot, Fred and George.</p> <p><strong>Roles:</strong> Normal, Editor, Admin</p> <p>Then in the define each group as:</p> <p><strong>Admin</strong> has the following members: George</p> <p><strong>Editor</strong> has the following members: "Admin", Douglas, Elliot</p> <p><strong>Normal</strong> has the following members: "Editor", "Admin", Anne, Bob, Charlie</p> <p>Therefore, you know that George is a member of Normal, Editor and Admin, because all members of Admin are included in those groups, while Douglas is only a member of Editor and Normal, and Anne is just a Normal user, and AD would say "<em>yes, George is a Normal user</em>" if you asked it.</p> <p><strong>HOWEVER:</strong> There isn't (as far as I know) an offical, MS supported ActiveDirectory <strong>RoleProvider</strong> that would populate the RolesPrinciple with the correct AD roles - there are a couple out there <a href="http://adrp.codeplex.com/" rel="nofollow noreferrer">like this one on CodePlex</a> what have you defined as your role provider?</p> <p>The default ASP.NET role provider doesn't support role hierarchies, so you would either need to either:</p> <ol> <li>Put the user in each role they have access to, and only check for the role you're interested in.</li> <li>Put the user in the most powerful role they can access, and then check for every role that should have access.</li> <li>Write/find a <a href="http://msdn.microsoft.com/en-us/library/8fw7xh74.aspx" rel="nofollow noreferrer">role provider</a> that supports hierarchies - simiply by returning true if the user is in a higher order role.</li> </ol>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload