Creates a new user instance.
public static function UnbUser::Create ($displayName = null, $loginName = null, $loginPassword = null, $newId = null, $copyDefaultSettings = false);
null
(max. 255 characters)null
(max. 255 characters)null
(used with loginName)the newly created UnbUser object
The newly created user instance is also stored in the database.
If a user ID is automatically generated, a random number of KeyLength decimal digits is generated. If the new ID is not unique, it will be retried 50 times before the process fails.
InvalidArgumentException | No description available. |
LengthException | No description available. |
UnbSecurityException | If the display or login name are already assigned. |
UnbDatabaseException | No description available. |
Member of class: UnbUser
Implementation file: user.class.php, line 124
© 2010 Yves Goergen. UNB Components Homepage. Reference generated on 2010-03-07.