Kinetica   C#   API  Version 7.2.3.0
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 
43  public const string SET_PASSWORD = "set_password";
44 
50  public const string SET_RESOURCE_GROUP = "set_resource_group";
51  } // end struct Action
52 
55  public string name { get; set; }
56 
104  public string action { get; set; }
105 
108  public string _value { get; set; }
109 
113  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
114 
117  public AlterUserRequest() { }
118 
175  public AlterUserRequest( string name,
176  string action,
177  string _value,
178  IDictionary<string, string> options = null)
179  {
180  this.name = name ?? "";
181  this.action = action ?? "";
182  this._value = _value ?? "";
183  this.options = options ?? new Dictionary<string, string>();
184  } // end constructor
185  } // end class AlterUserRequest
186 
191  {
194  public string name { get; set; }
195 
197  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
198  } // end class AlterUserResponse
199 } // end namespace kinetica
A set of string constants for the parameter action.
Definition: AlterUser.cs:21
const string SET_ACTIVATED
Is the user allowed to login.
Definition: AlterUser.cs:24
string action
Modification operation to be applied to the user.
Definition: AlterUser.cs:104
A set of results returned by Kinetica.alterUser.
Definition: AlterUser.cs:190
string name
Name of the user to be altered.
Definition: AlterUser.cs:55
const string SET_RESOURCE_GROUP
Sets the resource group for an internal user.
Definition: AlterUser.cs:50
const string FALSE
User may not login
Definition: AlterUser.cs:30
const string TRUE
User may login
Definition: AlterUser.cs:27
const string SET_COMMENT
Sets the comment for an internal user.
Definition: AlterUser.cs:33
A set of parameters for Kinetica.alterUser.
Definition: AlterUser.cs:15
const string SET_DEFAULT_SCHEMA
Set the default_schema for an internal user.
Definition: AlterUser.cs:38
IDictionary< string, string > info
Additional information.
Definition: AlterUser.cs:197
AlterUserRequest()
Constructs an AlterUserRequest object with default parameters.
Definition: AlterUser.cs:117
string name
Value of name.
Definition: AlterUser.cs:194
const string SET_PASSWORD
Sets the password of the user.
Definition: AlterUser.cs:43
string _value
The value of the modification, depending on action.
Definition: AlterUser.cs:108
IDictionary< string, string > options
Optional parameters.
Definition: AlterUser.cs:113
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
AlterUserRequest(string name, string action, string _value, IDictionary< string, string > options=null)
Constructs an AlterUserRequest object with the specified parameters.
Definition: AlterUser.cs:175