Manual:Hooks/LocalUserCreated

== Details ==


 * $user: User object for the created user
 * $autocreated: Boolean, whether this was an auto-creation. Note if your wiki uses CentralAuth this will always be true.

== Notes ==

Added in as part of the upcoming AuthManager system. Replaces the  method call and the  and  hooks.

Extensions which implement their own authentication provider might want to use and  instead, which are similar but have access to more information. (Note that is called significantly later in the process, after secondary authentication providers have finished.)

Changes which are not immediately required for database consistency should probably be deferred; see Database transactions.

== See also ==


 * UserLoggedIn
 * UserGroupsChanged
 * UserIsHidden
 * UserIsLocked