7 using System.Collections.Generic;
16 public class CreateUserInternalRequest : KineticaData
37 public const string ACTIVATED =
"activated";
39 public const string TRUE =
"true";
40 public const string FALSE =
"false";
77 public string name {
get;
set; }
146 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
225 IDictionary<string, string>
options =
null)
227 this.name =
name ??
"";
236 public class CreateUserInternalResponse : KineticaData
240 public string name {
get;
set; }
245 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
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.
string name
Value of name.
IDictionary< string, string > info
Additional information.
const string RESOURCE_GROUP
Name of an existing resource group to associate with this user