
# App\Users\User

> User model

* public [__construct](__construct.md)(string &#36;first_name, string &#36;last_name, int &#36;group_id, string &#36;language, string &#36;currency, string &#36;timezone, [ string &#36;extra_profile = '' ]):.md
* public [activate](activate.md)(): void.md
* public [addNote](addnote.md)(string &#36;note, [ ?strint &#36;from = null ]): Note.md
* public [deactivate](deactivate.md)(): void.md
* public [delete](delete.md)(): void.md
* public [freeze](freeze.md)(DateTime &#36;unfreeze_at): void.md
* public [getActivityLogCount](getactivitylogcount.md)(): int.md
* public [getCreatedAt](getcreatedat.md)(): ?DateTime.md
* public [getCurrency](getcurrency.md)(): string.md
* public [getEmail](getemail.md)(): string.md
* public [getExtended](getextended.md)(string &#36;package): ?mixed.md
* public [getFirstName](getfirstname.md)(): string.md
* public [getFullName](getfullname.md)(): string.md
* public [getGroupId](getgroupid.md)(): int.md
* public [getLanguage](getlanguage.md)(): string.md
* public [getLastName](getlastname.md)(): string.md
* public [getLoginHistoryCount](getloginhistorycount.md)(): int.md
* public [getPassword](getpassword.md)(): string.md
* public [getPhone](getphone.md)(): string.md
* public [getPhoneCountryCode](getphonecountrycode.md)(): ?string.md
* public [getPhoneFormatted](getphoneformatted.md)(): string.md
* public [getPhoneNational](getphonenational.md)(): ?string.md
* public [getRegCity](getregcity.md)(): string.md
* public [getRegCountry](getregcountry.md)(): string.md
* public [getRegIpAddress](getregipaddress.md)(): string.md
* public [getRegLatitude](getreglatitude.md)(): float.md
* public [getRegLongitude](getreglongitude.md)(): float.md
* public [getRegProvinceISOCode](getregprovinceisocode.md)(): string.md
* public [getRegProvinceName](getregprovincename.md)(): string.md
* public [getRegUserAgent](getreguseragent.md)(): string.md
* public [getTimezone](gettimezone.md)(): string.md
* public [getTwoFactorFrequency](gettwofactorfrequency.md)(): string.md
* public [getTwoFactorType](gettwofactortype.md)(): string.md
* public [getType](gettype.md)(): string.md
* public [getUnfreezeAt](getunfreezeat.md)(): ?DateTime.md
* public [getUpdatedAt](getupdatedat.md)(): ?DateTime.md
* public [getUsername](getusername.md)(): string.md
* public [getUuid](getuuid.md)(): string.md
* public [hasEmail](hasemail.md)(): bool.md
* public [hasPassword](haspassword.md)(): bool.md
* public [hasPhone](hasphone.md)(): bool.md
* public [hasUsername](hasusername.md)(): bool.md
* public [isActive](isactive.md)(): bool.md
* public [isDeleted](isdeleted.md)(): bool.md
* public [isEmailVerified](isemailverified.md)(): bool.md
* public [isFrozen](isfrozen.md)(): bool.md
* public [isPending](ispending.md)(): bool.md
* public [isPhoneVerified](isphoneverified.md)(): bool.md
* public [listActivityLog](listactivitylog.md)([ int &#36;start = '0' ], [ int &#36;limit = '0' ], [ bool &#36;sort_desc = true ]): array.md
* public [listDevices](listdevices.md)([ string &#36;type = '' ]): array.md
* public [listIpAllow](listipallow.md)(): array.md
* public [listLoginHistory](listloginhistory.md)([ int &#36;start = '0' ], [ int &#36;limit = '0' ], [ bool &#36;sort_desc = true ]): array.md
* public  static[loadUsername](loadusername.md)(string &#36;username, [ bool &#36;is_deleted = false ]): ?static.md
* public  static[loadUuid](loaduuid.md)(string &#36;uuid, [ bool &#36;is_deleted = false ]): ?static.md
* public [prepare](prepare.md)(): void.md
* public [toArray](toarray.md)(): array.md
* public [toDisplayArray](todisplayarray.md)(): array.md
* public [undelete](undelete.md)(): void.md
* public [unfreeze](unfreeze.md)(): void.md
* public [updateEmail](updateemail.md)(string &#36;new_email, [ bool &#36;is_verified = false ]): string.md
* public [updatePassword](updatepassword.md)(string &#36;new_password, [ string &#36;old_password = '' ], [ bool &#36;delete_encrypted = false ]): string.md
* public [updatePasswordWithMaster](updatepasswordwithmaster.md)(string &#36;new_password, string &#36;master_password): void.md
* public [updatePhone](updatephone.md)(string &#36;new_phone, [ bool &#36;is_verified = false ]): string.md
* public [updateTwoFactor](updatetwofactor.md)([ string &#36;type = '' ], [ string &#36;frequency = '' ]): void.md
* public [updateUsername](updateusername.md)(string &#36;new_username): string.md


