The mssql_user module is used to create and manage SQL Server Users
frank: mssql_user.present: - database: yolo
Ensure that the named user is absent
The username of the user to remove
present(name, login=None, domain=None, database=None, roles=None, options=None, **kwargs)¶
Checks existence of the named user. If not present, creates the user with the specified roles and options.
The name of the user to manage
If not specified, will be created WITHOUT LOGIN
Creates a Windows authentication user. Needs to be NetBIOS domain or hostname
The database of the user (not the login)
Add this user to all the roles in the list
Can be a list of strings, a dictionary, or a list of dictionaries
Generated on April 18, 2023 at 04:07:35 UTC.
You are viewing docs for the previous stable release, 3004.2. Switch to docs for the latest stable release, 3005.1, or to a recent doc build from the master branch.