7 using System.Collections.Generic;
15 public class AlterUserRequest : KineticaData
27 public const string TRUE =
"true";
30 public const string FALSE =
"false";
55 public string name {
get;
set; }
104 public string action {
get;
set; }
108 public string _value {
get;
set; }
113 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
178 IDictionary<string, string>
options =
null)
180 this.name =
name ??
"";
181 this.action =
action ??
"";
182 this._value =
_value ??
"";
190 public class AlterUserResponse : KineticaData
194 public string name {
get;
set; }
197 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
IDictionary< string, string > options
Optional parameters.
const string TRUE
User may login
const string SET_COMMENT
Sets the comment for an internal user.
string _value
The value of the modification, depending on action.
const string SET_RESOURCE_GROUP
Sets the resource group for an internal user.
string name
Value of name.
string name
Name of the user to be altered.
AlterUserRequest()
Constructs an AlterUserRequest object with default parameters.
const string SET_DEFAULT_SCHEMA
Set the default_schema for an internal user.
IDictionary< string, string > info
Additional information.
const string FALSE
User may not login
string action
Modification operation to be applied to the user.
AlterUserRequest(string name, string action, string _value, IDictionary< string, string > options=null)
Constructs an AlterUserRequest object with the specified parameters.
const string SET_PASSWORD
Sets the password of the user.
const string SET_ACTIVATED
Is the user allowed to login.