Support adding Windows users (#22399)

* Support adding Windows users

* Bump STS
This commit is contained in:
Karl Burtram
2023-03-22 09:53:20 -07:00
committed by GitHub
parent 3b68aaed72
commit 1e4800a60c
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"downloadUrl": "https://github.com/Microsoft/sqltoolsservice/releases/download/{#version#}/microsoft.sqltools.servicelayer-{#fileName#}",
"version": "4.6.0.14",
"version": "4.6.0.16",
"downloadFileNames": {
"Windows_86": "win-x86-net7.0.zip",
"Windows_64": "win-x64-net7.0.zip",

View File

@@ -110,7 +110,7 @@ export class UserDialog extends ObjectManagementDialogBase<ObjectManagement.User
// only supporting user with login for initial preview
// const userTypes = [localizedConstants.UserWithLoginText, localizedConstants.UserWithWindowsGroupLoginText, localizedConstants.ContainedUserText, localizedConstants.UserWithNoConnectAccess],
const userTypes = [localizedConstants.UserWithLoginText];
const userTypes = [localizedConstants.UserWithLoginText, localizedConstants.UserWithWindowsGroupLoginText];
this.typeDropdown = this.createDropdown(localizedConstants.UserTypeText, userTypes, getUserTypeDisplayName(this.objectInfo.type), this.isNewObject);
this.disposables.push(this.typeDropdown.onValueChanged(async () => {
this.objectInfo.type = getUserTypeByDisplayName(<string>this.typeDropdown.value);