Generic save procedure.
public save ( array $FormPostValues, array $Settings = [] ) | ||
$FormPostValues | array | The user to save. |
$Settings | array | Controls certain save functionality. - SaveRoles - Save 'RoleID' field as user's roles. Default false. - HashPassword - Hash the provided password on update. Default true. - FixUnique - Try to resolve conflicts with unique constraints on Name and Email. Default false. - ValidateEmail - Make sure the provided email addresses is formatted properly. Default true. - NoConfirmEmail - Disable email confirmation. Default false. |