-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
resetPassword
Description
Generates a random password for a user and emails it to them.
Syntax
void resetPassword (int $memID[, string $username])
Parameter $memID
Expected type: Integer
Description: The member ID of the user whose password is being reset
Parameter $username
Expected type: String
Description: The username of the user whose password is being reset
Notes
- Pulls username and email address for the specified member ID
- Performs all necessary checks on $username if it isn't null
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.036 seconds with 13 queries.
- Forum Search