locked
How to manage Windows Authentication in Mvc5 with manual Roles RRS feed

  • Question

  • User197122282 posted

    For my company, I am working on a MVC Intranet application using Windows Authentication. My company has hundreds of employee. With respect to this, I want to know the following:

    1. How can I get the list of all employees from Active Directory (AD). This information is needed to pre-populate the database since we need to assign Users in advance for many reasons. For example, User-XXX is attending Course-YYY or User-XXX is managing Asset-YYY.

    2. Ignoring the AD Roles, we need to use application-based Roles. For example, User-XXX has an Application-Role of Teacher (his AD Role may be Specialist). In this case, I think, we have to manually assign all Users to respective application-based Roles. Correct me if mistaken.


    Thanks in advance.

    Monday, May 29, 2017 7:01 AM

All replies