Closed jkrilov closed 1 year ago
It definitely should! Some copy and paste errors from the sa
module. Thanks for identifying!
Do you want me to address that while I add the code for adding/removing roles?
After going through the required changes, I think adding/removing roles should probably be it's own module. I submitted a fix for this in the mean-time.
I'm looking to add the ability to add/remove roles to logins.
I noticed
$sa
referenced in a few places but it doesn't look like it's defined anywhere. Should it be$existingLogin
instead? https://github.com/lowlydba/lowlydba.sqlserver/blob/dbb925d200c09a13e05114ad90aa6ac03663add8/plugins/modules/login.ps1#L74