Learn
Engine Data Type
User

Summary
Constructors
fromId(domainUserId: number)
fromString(userString: string)
Methods

API Reference
Constructors
fromId
User.fromId(domainUserId:number)
Parameters
domainUserId:number

fromString
User.fromString(userString:string)
Parameters
userString:string

Properties
Id
User.Id:number

DomainType
User.DomainType:Enum.DomainType

DomainId
User.DomainId:number

Methods
ToString
User:ToString():string
Returns

©2026 Roblox Corporation. Roblox, the Roblox logo and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.