How to limit access to a controller using Authorize(Users="Alice,Bob") -


i created mvc 5 application uses active directory authentication.

how can limit access controller selected users. know can [authorize(users="alice,bob")] don't know if work ad authentication well. 'alice & bob' need on database?

thank you

ceci

in little knowledge in this, understand objects (alice,bob) need in session, mean, after authenticate sucessfully in app access controller, database not reference session is.


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -