FieldsMethodsMember Objects1. Fields
required_chars
| Function name |
Function signature |
| spe_required_chars_get |
string spe_required_chars_get (object:spe obj) |
|
This function returns the type of characters required for a user's password. Expected values are: letters, lettersAndNumbers, lettersAndNumbersAndSpecial
|
| spe_required_chars_set |
int spe_required_chars_set (object:spe obj, string value) |
|
This function sets the character class for a user's password. Valid classes (the 'value' parameter) are: "letters", "lettersAndNumbers", "lettersAndNumbersAndSpecial"
|
minimum_length
| Function name |
Function signature |
| spe_minimum_length_get |
int spe_minimum_length_get (object:spe obj) |
|
This function returns the minimum number of characters required for a user's password
|
| spe_minimum_length_set |
int spe_minimum_length_set (object:spe obj, int value) |
|
This function sets the minimum number of characters required for a user's password. Returns 0 on succes, -1 on failure
|
enabled
| Function name |
Function signature |
| spe_enabled_get |
int spe_enabled_get (object:spe obj) |
|
This function returns 1 if Secure Password Enforcement is enabled on Axigen and 0 otherwise
|
| spe_enabled_set |
int spe_enabled_set (object:spe obj, int value) |
|
This function enables/disables Secure Password Enforcement if the value parameter is 1, respectively 0
|
maximum_length
| Function name |
Function signature |
| spe_maximum_length_get |
int spe_maximum_length_get (object:spe obj) |
|
This function returns the maximum number of characters required for a user's password
|
| spe_maximum_length_set |
int spe_maximum_length_set (object:spe obj, int value) |
|
This function sets the maximum number of characters for a user's password. Returns 0 on succes, -1 on failure
|
2. Methods
| Function name |
Function signature |
| spe_load |
object:spe spe_load (object:session s, object:context_list ctx) |
| spe_save |
int spe_save (object:spe data, object:session session) |
|
This function destroys a SPE object
This function saves a spe object. Returns 0 on succes, -1 on failure
|
3. Member Objects
connection
Functions that apply to member object:
| Function name |
Function signature |
| session_connection_get |
object:tcp_connection session_connection_get (object:session) |
imap_migration
Functions that apply to member object:
| Function name |
Function signature |
| session_imap_migration_get |
object:migration session_imap_migration_get (object:session s) |
|
This function returns a server object used in performing various server configurations */
struct server* session_config_server(struct session* s);
/** This function returns a migration_data object used in migrating from another mailserver to Axigen
|
context
Functions that apply to member object:
| Function name |
Function signature |
| session_context_get |
object:context_list session_context_get (object:session) |
current_context
Functions that apply to member object:
| Function name |
Function signature |
| session_current_context_get |
object:context_list session_current_context_get (object:session) |