salt.states.mssql_role

Management of Microsoft SQLServer Databases

The mssql_role module is used to create and manage SQL Server Roles

yolo:
  mssql_role.present
salt.states.mssql_role.absent(name, **kwargs)

Ensure that the named database is absent

name

The name of the database to remove

salt.states.mssql_role.present(name, owner=None, grants=None, **kwargs)

Ensure that the named database is present with the specified options

name

The name of the database to manage

owner

Adds owner using AUTHORIZATION option

Grants

Can only be a list of strings