locked
Synchronize Users from Active Directory RRS feed

  • Question

  • User-425639139 posted

    Hi,

    I am implementing an Active Directory based Authentication where the users from a specific Groups will only have access to the application after some logic's which I have written for Security purpose. There is a Database table as well in my which looks for currently logged on username if user name does not exist's in the Database Table the user is thrown to the Access Denied page.

    Now I am trying to implement a feature to Sync users from Active Directory to the Database table without overwriting existing Users, is there a way to do it rather than doing the Query for all users and doing a loop?

    Thursday, March 5, 2009 11:31 AM

Answers

  • User-425639139 posted

    My Fault I was able to solve this by looping them and forgot to mark this as answerd

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, April 14, 2009 12:43 AM

All replies

  • User1191518856 posted

    There is no automagic that could do this for you, no. You will need to write a loop to get the job done. It won't be many lines of code though ;-)

    Monday, April 13, 2009 6:40 PM
  • User-425639139 posted

    My Fault I was able to solve this by looping them and forgot to mark this as answerd

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, April 14, 2009 12:43 AM