# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
ConnectToSqlDb connects to the SQL db using the given credentials.
ConnectToSQLDBAsCurrentUser connects to the SQL DB using the specified MSI ClientID.
DropUser drops a user from db.
EnsureUserDatabaseRoles revokes and grants database roles as needed so they match the ones passed in.
EnsureUserServerRoles revokes and grants server-level roles as needed so the roles for the user match those passed in.
ExtractUserDatabaseRoles extracts the per-database roles that the user has.
ExtractUserServerRoles extracts the server-level privileges the user has as a set.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TODO: This is probably more generic than MySQL.
No description provided by the author
UserExists checks if db contains user.
# Constants
DriverName is driver name for psqldb connection.
ServerPort is the default server port for sql server.
SystemDatabase is the name of the system database in a MySQL server where users and privileges are stored (and which we can always assume will exist).
# Type aliases
No description provided by the author