Kinetica   C#   API  Version 7.2.3.1
AlterUser.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 namespace kinetica;
10 
16 {
21  public struct Action
22  {
24  public const string SET_ACTIVATED = "set_activated";
25 
27  public const string TRUE = "true";
28 
30  public const string FALSE = "false";
31 
33  public const string SET_COMMENT = "set_comment";
34 
38  public const string SET_DEFAULT_SCHEMA = "set_default_schema";
39 
42  public const string SET_PASSWORD = "set_password";
43 
48  public const string SET_RESOURCE_GROUP = "set_resource_group";
49  } // end struct Action
50 
53  public string name { get; set; }
54 
99  public string action { get; set; }
100 
103  public string _value { get; set; }
104 
108  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
109 
112  public AlterUserRequest() { }
113 
167  public AlterUserRequest( string name,
168  string action,
169  string _value,
170  IDictionary<string, string> options = null)
171  {
172  this.name = name ?? "";
173  this.action = action ?? "";
174  this._value = _value ?? "";
175  this.options = options ?? new Dictionary<string, string>();
176  } // end constructor
177 } // end class AlterUserRequest
178 
183 {
186  public string name { get; set; }
187 
189  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
190 } // end class AlterUserResponse
const string SET_PASSWORD
Sets the password of the user.
Definition: AlterUser.cs:42
A set of results returned by Kinetica.alterUser.
Definition: AlterUser.cs:182
const string FALSE
User may not login.
Definition: AlterUser.cs:30
const string SET_ACTIVATED
Is the user allowed to login.
Definition: AlterUser.cs:24
string _value
The value of the modification, depending on action.
Definition: AlterUser.cs:103
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string SET_COMMENT
Sets the comment for an internal user.
Definition: AlterUser.cs:33
IDictionary< string, string > options
Optional parameters.
Definition: AlterUser.cs:108
string name
Name of the user to be altered.
Definition: AlterUser.cs:53
string action
Modification operation to be applied to the user.
Definition: AlterUser.cs:99
const string SET_DEFAULT_SCHEMA
Set the default_schema for an internal user.
Definition: AlterUser.cs:38
string name
Value of name.
Definition: AlterUser.cs:186
AlterUserRequest(string name, string action, string _value, IDictionary< string, string > options=null)
Constructs an AlterUserRequest object with the specified parameters.
Definition: AlterUser.cs:167
IDictionary< string, string > info
Additional information.
Definition: AlterUser.cs:189
AlterUserRequest()
Constructs an AlterUserRequest object with default parameters.
Definition: AlterUser.cs:112
A set of string constants for the parameter action.
Definition: AlterUser.cs:21
A set of parameters for Kinetica.alterUser.
Definition: AlterUser.cs:15
const string TRUE
User may login.
Definition: AlterUser.cs:27
const string SET_RESOURCE_GROUP
Sets the resource group for an internal user.
Definition: AlterUser.cs:48