Diff #4 - trunk/docs/classes/admin/updateusername.md
2,068 bytes
|
|
January 20, 2025 at 08:20
|
Diff
Index: updateusername.md
--- updateusername.md (nonexistent) +++ updateusername.md (revision 4) @@ -0,0 +1,74 @@ + +# ArmorUser::updateUsername + +### Usage + +> string ArmorUser::updateUsername(string $new_username) + +### Description + +> Update username + +### Parameters + +Parameter | Required | Type | Description +------------- |------------- |------------- |------------- +new_username | Yes | string | + +### Return +> Apex\Armor\Enums\UpdateStatus constant +### See Also + +* activate() +* deactivate() +* delete() +* freeze() +* getActivityLogCount() +* getCreatedAt() +* getEmail() +* getLoginHistoryCount() +* getPassword() +* getPhone() +* getPhoneCountryCode() +* getPhoneFormatted() +* getPhoneNational() +* getRegCity() +* getRegCountry() +* getRegIpAddress() +* getRegLatitude() +* getRegLongitude() +* getRegProvinceISOCode() +* getRegProvinceName() +* getRegUserAgent() +* getTwoFactorFrequency() +* getTwoFactorType() +* getType() +* getUnfreezeAt() +* getUpdatedAt() +* getUsername() +* getUuid() +* hasEmail() +* hasPassword() +* hasPhone() +* hasUsername() +* isActive() +* isDeleted() +* isEmailVerified() +* isFrozen() +* isPending() +* isPhoneVerified() +* listActivityLog() +* listDevices() +* listIpAllow() +* listLoginHistory() +* prepare() +* toArray() +* undelete() +* unfreeze() +* updateEmail() +* updatePassword() +* updatePasswordWithMaster() +* updatePhone() +* updateTwoFactor() + +
Full Code
ArmorUser::updateUsername
Usage
string ArmorUser::updateUsername(string $new_username)
Description
Update username
Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| new_username | Yes | string |
Return
Apex\Armor\Enums\UpdateStatus constant
See Also
- activate()
- deactivate()
- delete()
- freeze()
- getActivityLogCount()
- getCreatedAt()
- getEmail()
- getLoginHistoryCount()
- getPassword()
- getPhone()
- getPhoneCountryCode()
- getPhoneFormatted()
- getPhoneNational()
- getRegCity()
- getRegCountry()
- getRegIpAddress()
- getRegLatitude()
- getRegLongitude()
- getRegProvinceISOCode()
- getRegProvinceName()
- getRegUserAgent()
- getTwoFactorFrequency()
- getTwoFactorType()
- getType()
- getUnfreezeAt()
- getUpdatedAt()
- getUsername()
- getUuid()
- hasEmail()
- hasPassword()
- hasPhone()
- hasUsername()
- isActive()
- isDeleted()
- isEmailVerified()
- isFrozen()
- isPending()
- isPhoneVerified()
- listActivityLog()
- listDevices()
- listIpAllow()
- listLoginHistory()
- prepare()
- toArray()
- undelete()
- unfreeze()
- updateEmail()
- updatePassword()
- updatePasswordWithMaster()
- updatePhone()
- updateTwoFactor()