I have an application which uses individual authentication via SQL Server (register new user, change password etc) the code which handles it was generated completely by VS2019. Now I have to modify the authentication via LDAP and determine user privilege based on group membership. In this case I don't need the register and password change and more function only the login.
I have found some useful post but those were not clear for me.
I have methods which can authenticate the users and check the membership of groups but I don't know what is the easiest way to implement it into my existing application.