Kinetica   C#   API  Version 7.2.3.0
CreateUserExternal.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 CreateUserExternalRequest : 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 
141  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
142 
146 
216  IDictionary<string, string> options = null)
217  {
218  this.name = name ?? "";
219  this.options = options ?? new Dictionary<string, string>();
220  } // end constructor
221  } // end class CreateUserExternalRequest
222 
226  public class CreateUserExternalResponse : KineticaData
227  {
230  public string name { get; set; }
231 
233  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
234  } // end class CreateUserExternalResponse
235 } // end namespace kinetica
IDictionary< string, string > options
Optional parameters.
const string CREATE_HOME_DIRECTORY
When TRUE, a home directory in KiFS is created for this user.
const string DEFAULT_SCHEMA
Default schema to associate with this user
CreateUserExternalRequest()
Constructs a CreateUserExternalRequest 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
string name
Name of the user to be created.
const string ACTIVATED
Is the user allowed to login.
CreateUserExternalRequest(string name, IDictionary< string, string > options=null)
Constructs a CreateUserExternalRequest object with the specified parameters.