
| Line: 88 to 88 | ||||||||
|---|---|---|---|---|---|---|---|---|
| custom mappers and registration modules. | ||||||||
| Changed: | ||||||||
| < < | ObjectMethod addUser ($login,$wikiname,$password,$emails) -> $cUID | |||||||
| > > | ObjectMethod addUser ($login,$wikiname,$password,$emails,$mcp) -> $cUID | |||||||
| ||||||||
| Added: | ||||||||
| > > |
| |||||||
| Add a new TWiki user identity, returning the canonical user id for the new user. Used ONLY for user registration. | ||||||||
| Line: 177 to 178 | ||||||||
| Added: | ||||||||
| > > | ObjectMethod getMustChangePassword ($cUID) -> $flagReturns 1 if the $cUID must change the password, else 0. Returns undef if $cUID not found.ObjectMethod getUserData ($cUID) -> $dataRefReturn a reference to an array of hashes with user data, used to manage users. Each item is a hash with:
ObjectMethod setUserData ($cUID,$dataRef)Set the user data of a user. Same array of hashes as getUserData is assumed, although only{name} and {value} are used.
| |||||||
ObjectMethod isAdmin ($cUID) -> $booleanTrue if the user is an admin | ||||||||
| Line: 291 to 322 | ||||||||
| Changed: | ||||||||
| < < | ObjectMethod setPassword ($cUID,$newPassU,$oldPassU) -> $boolean | |||||||
| > > | ObjectMethod setPassword ($cUID,$newPassU,$oldPassU,$mcp) -> $boolean | |||||||
| If the $oldPassU matches matches the user's password, then it will replace it with $newPassU. | ||||||||
| Line: 303 to 334 | ||||||||
| Otherwise returns 1 on success, undef on failure. | ||||||||
| Added: | ||||||||
| > > | $mcp is the "must change password flag" that forces the user to change the password on next login | |||||||
ObjectMethod passwordError () -> $string | ||||||||
| Line: 321 to 355 | ||||||||
| topics, which may still be linked. | ||||||||
| Added: | ||||||||
| > > |
ObjectMethod _USERMANAGER ($twiki,$params)ObjectMethod _userManagerQueryUsers ($params)ObjectMethod _userManagerEditUser ($params)ObjectMethod _renderUserDataField ($fieldRef) | |||||||