mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-15 01:25:40 -05:00
Add login management handlers (#1868)
* update contracts * finish creating/loading login for SQL Server * support role read for azure and add more handlers * fix advanced option flags --------- Co-authored-by: Karl Burtram <karlb@microsoft.com>
This commit is contained in:
@@ -29,17 +29,14 @@ namespace Microsoft.SqlTools.ServiceLayer.IntegrationTests.Security
|
||||
{
|
||||
return new LoginInfo()
|
||||
{
|
||||
LoginName = "TestLoginName_" + new Random().NextInt64(10000000,90000000).ToString(),
|
||||
LoginType= LoginType.Sql,
|
||||
CertificateName = "Test Cert",
|
||||
AsymmetricKeyName = "Asymmetric Test Cert",
|
||||
Name = "TestLoginName_" + new Random().NextInt64(10000000,90000000).ToString(),
|
||||
AuthenticationType= LoginAuthenticationType.Sql,
|
||||
WindowsGrantAccess = true,
|
||||
MustChange = false,
|
||||
IsDisabled = false,
|
||||
MustChangePassword = false,
|
||||
IsEnabled = false,
|
||||
IsLockedOut = false,
|
||||
EnforcePolicy = false,
|
||||
EnforceExpiration = false,
|
||||
WindowsAuthSupported = false,
|
||||
EnforcePasswordPolicy = false,
|
||||
EnforcePasswordExpiration = false,
|
||||
Password = "placeholder",
|
||||
OldPassword = "placeholder",
|
||||
DefaultLanguage = "us_english",
|
||||
|
||||
Reference in New Issue
Block a user