<<

NAME

pfappserver::Form::User::Create - Common Web form for a user account

DESCRIPTION

Common form definition to create one ore many user accounts. This form is intended to be used along the other forms (Create::Singe, Create::Multiple, Create:;Import).

validate

Validate the following constraints :

 - an access duration and an unregistration date cannot be set at the same time
 - when setting a role, an access duration or an unregistration date is set
 - at least a role, a sponsor, or an access level is set

See pfappserver::Form::Authentication::Rule->validate

_check_allowed_options

check to see the passed action value is a valid value for the user role

COPYRIGHT

Copyright (C) 2005-2015 Inverse inc.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

<<