Skip to content

User Data DTO Reference

The ThingsTelemetry\Traccar\Dto\UserData represents a Traccar user entity.

php
use ThingsTelemetry\Traccar\Facades\User;

$user = User::get(42); // UserData

idinteger

Unique user identifier.

namestring

User full name.

emailstring

User email.

phonestring|null

Contact phone.

readonlyboolean

Whether the user is read-only.

administratorboolean

Admin flag.

mapMap

Preferred map provider.

latitude, longitudefloat

Default map center coordinates.

zoominteger

Default map zoom.

passwordstring|null

Password field (if returned by API).

coordinateFormatCoordinateFormat

Preferred coordinate format.

disabledboolean

If the user is disabled.

expirationTimeCarbonImmutable|null

Account expiration timestamp if set.

deviceLimit, userLimitinteger

Assigned limits for devices and sub-users.

deviceReadonly, limitCommands, fixedEmailboolean

Permission/control flags.

poiLayerstring|null

Points-of-interest layer ID or URL.

attributesUserAttributesData

User attribute bag.

Released under the MIT License.