# User(ロブロックス データ型) > Represents a user's domain-scoped identity within a specific domain. - URL:https://roblox.minecraft-okinawa.com/reference/datatypes/User/ - 公式:https://create.roblox.com/docs/reference/engine/datatypes/User ## コンストラクター - `User.fromId(domainUserId: int64)`:Creates a User from a domain user ID within the current experience. - `User.fromString(userString: string)`:Creates a User from its serialized string form. ## プロパティ - `User.Id: int64`:The domain user ID, unique within this domain. - `User.DomainType: DomainType`:The type of domain that this domain user ID belongs to. - `User.DomainId: int64`:The identifier of the specific domain instance. ## メソッド - `User:ToString(): string`:Serializes this User into a stable string representation. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)