I am new to Always On Availability Groups and I am little bit confused with creation of logins.
Let's assume an environment NODE1(Primary) & NODE2(secondary) & NODE3(Stand by) & VAEWI(Listener).
I need to create a SQL authentication login.
For this, I assume I need to create it by connecting to listener that which will sync in all of the nodes.
I need to create a Windows authentication.
For this I think, as all of the nodes are window-clustered before creating the availability group. So, we need to create a Windows user 1st in primary node and then create a Windows authentication by connecting to the listener.
Can anyone let me know if my assumptions are true?