mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-21 09:35:39 -05:00
Support scripting for Users (#2002)
* WIP 1 * WIP2 * Fix merge break * Support alter existing object
This commit is contained in:
@@ -109,4 +109,27 @@ namespace Microsoft.SqlTools.ServiceLayer.Security.Contracts
|
||||
RequestType<DisposeUserViewRequestParams, ResultStatus> Type =
|
||||
RequestType<DisposeUserViewRequestParams, ResultStatus>.Create("objectManagement/disposeUserView");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Script User params
|
||||
/// </summary>
|
||||
public class ScriptUserParams
|
||||
{
|
||||
public string? ContextId { get; set; }
|
||||
|
||||
public UserInfo? User { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Script User request type
|
||||
/// </summary>
|
||||
public class ScriptUserRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// Request definition
|
||||
/// </summary>
|
||||
public static readonly
|
||||
RequestType<ScriptUserParams, string> Type =
|
||||
RequestType<ScriptUserParams, string>.Create("objectManagement/scriptUser");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user