updateUsername

Description

Change the username for a user.

Return Type

Boolean

Returns "true" if the username was updated and "false" if not.

Example

return updateUsername("jonDoe", "jonSmith");

See also

Peacock