Kinetica   C#   API  Version 7.2.3.0
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 {
16  public class CreateUserInternalRequest : KineticaData
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 
82  public string password { get; set; }
83 
146  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
147 
151 
224  string password,
225  IDictionary<string, string> options = null)
226  {
227  this.name = name ?? "";
228  this.password = password ?? "";
229  this.options = options ?? new Dictionary<string, string>();
230  } // end constructor
231  } // end class CreateUserInternalRequest
232 
236  public class CreateUserInternalResponse : KineticaData
237  {
240  public string name { get; set; }
241 
245  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
246  } // end class CreateUserInternalResponse
247 } // end namespace kinetica
string name
Name of the user to be created.
IDictionary< string, string > options
Optional parameters.
const string DEFAULT_SCHEMA
Default schema to associate with this user
string password
Initial password of the user to be created.
const string ACTIVATED
Is the user allowed to login.
CreateUserInternalRequest(string name, string password, IDictionary< string, string > options=null)
Constructs a CreateUserInternalRequest object with the specified parameters.
const string CREATE_HOME_DIRECTORY
When TRUE, a home directory in KiFS is created for this user.
CreateUserInternalRequest()
Constructs a CreateUserInternalRequest object with default parameters.
const string DIRECTORY_DATA_LIMIT
The maximum capacity to apply to the created directory if CREATE_HOME_DIRECTORY is TRUE.
IDictionary< string, string > info
Additional information.
const string RESOURCE_GROUP
Name of an existing resource group to associate with this user