Skip to main content

Constants for the fields of the /create/directory request.

Option fields

options

Constants for options.

pub const CREATE_HOME_DIRECTORY: &str = “create_home_directory”;

When set, a home directory is created for the user name provided in the value. The directory_name must be an empty string in this case. The user must exist.

pub const DATA_LIMIT: &str = “data_limit”;

The maximum capacity, in bytes, to apply to the created directory. Set to -1 to indicate no upper limit. If empty, the system default limit is applied.

pub const FALSE: &str = “false”;
pub const NO_ERROR_IF_EXISTS: &str = “no_error_if_exists”;

If true, does not return an error if the directory already exists.

pub const TRUE: &str = “true”;