Kinetica   C#   API  Version 7.2.3.1
CreateUserInternal.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 
17 {
21  public struct Options
22  {
37  public const string ACTIVATED = "activated";
38 
39  public const string TRUE = "true";
40  public const string FALSE = "false";
41 
55  public const string CREATE_HOME_DIRECTORY = "create_home_directory";
56 
58  public const string DEFAULT_SCHEMA = "default_schema";
59 
66  public const string DIRECTORY_DATA_LIMIT = "directory_data_limit";
67 
70  public const string RESOURCE_GROUP = "resource_group";
71  } // end struct Options
72 
77  public string name { get; set; }
78 
81  public string password { get; set; }
82 
145  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
146 
150 
222  string password,
223  IDictionary<string, string> options = null)
224  {
225  this.name = name ?? "";
226  this.password = password ?? "";
227  this.options = options ?? new Dictionary<string, string>();
228  } // end constructor
229 } // end class CreateUserInternalRequest
230 
235 {
238  public string name { get; set; }
239 
243  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
244 } // end class CreateUserInternalResponse
const string CREATE_HOME_DIRECTORY
When TRUE, a home directory in KiFS is created for this user.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
CreateUserInternalRequest()
Constructs a CreateUserInternalRequest object with default parameters.
const string RESOURCE_GROUP
Name of an existing resource group to associate with this user.
A set of parameters for Kinetica.createUserInternal.
const string DIRECTORY_DATA_LIMIT
The maximum capacity to apply to the created directory if CREATE_HOME_DIRECTORY is TRUE.
IDictionary< string, string > options
Optional parameters.
string name
Name of the user to be created.
const string ACTIVATED
Is the user allowed to login.
A set of string constants for the parameter options.
const string DEFAULT_SCHEMA
Default schema to associate with this user.
CreateUserInternalRequest(string name, string password, IDictionary< string, string > options=null)
Constructs a CreateUserInternalRequest object with the specified parameters.
string password
Initial password of the user to be created.
IDictionary< string, string > info
Additional information.
A set of results returned by Kinetica.createUserInternal.