Created page with "フォーマット" |
Created page with " マイグレーション済みアカウント や Resoniteボットなどのシステムアカウントの場合、ユーザーIDの文字列が異なる形式で表示されることがあります" |
||
Line 16: | Line 16: | ||
例えば、通常のユーザのIDは<code>U-fX3pKe7AYYQ</code>のような形式です。 | 例えば、通常のユーザのIDは<code>U-fX3pKe7AYYQ</code>のような形式です。 | ||
=== | === ユーザ名ユーザID === | ||
[[Migrations | マイグレーション済みアカウント ]]や[[Resonite Bot | Resoniteボット]]などのシステムアカウントの場合、ユーザーIDの文字列が異なる形式で表示されることがあります | |||
この場合は、<code>U-<ユーザ名></code>の形式になります。 | |||
例えば、ユーザIDは<code>U-Frooxius</code>のようになります | |||
'''ユーザーIDがユーザー名と一致すると考えてはいけません''' | |||
== | == 使用方法 == | ||
ユーザIDは、一般的にユーザに見える場面(絞り込み項目やワールド一覧など)では表示しないことが推奨されています。代わりに、[[User Username (ProtoFlux) | ユーザー名]] [[ProtoFlux]] ノードを使って、ユーザーのユーザー名を表示するようにしてください。 | |||
<span lang="en" dir="ltr" class="mw-content-ltr">As the user ID is immutable, it can be recommended to use it for [[Cloud Variables | cloud variables]] and components such as [[ValueUserOverride (Component) | ValueUserOverride]].</span> | <span lang="en" dir="ltr" class="mw-content-ltr">As the user ID is immutable, it can be recommended to use it for [[Cloud Variables | cloud variables]] and components such as [[ValueUserOverride (Component) | ValueUserOverride]].</span> |
Revision as of 08:30, 23 May 2025
ユーザID(またはuserid)は、ユーザーのアカウントに紐づく変更不可の識別子です。
フォーマット
すべてのユーザーIDは文字列「U-」で始まります。 ここで、「U」は「ユーザー」を意味し、他の文字(例:「G」や「R」)は、それぞれ「グループ」や「レコード」を示すことがあります。
現在、ユーザIDのフォーマットは二つあります。
一般ユーザID
ほとんどのResoniteユーザーIDは、U-<Snowflake ID>
という形式の Snowflake IDです。
例えば、通常のユーザのIDはU-fX3pKe7AYYQ
のような形式です。
ユーザ名ユーザID
マイグレーション済みアカウント や Resoniteボットなどのシステムアカウントの場合、ユーザーIDの文字列が異なる形式で表示されることがあります
この場合は、U-<ユーザ名>
の形式になります。
例えば、ユーザIDはU-Frooxius
のようになります
ユーザーIDがユーザー名と一致すると考えてはいけません
使用方法
ユーザIDは、一般的にユーザに見える場面(絞り込み項目やワールド一覧など)では表示しないことが推奨されています。代わりに、 ユーザー名 ProtoFlux ノードを使って、ユーザーのユーザー名を表示するようにしてください。
As the user ID is immutable, it can be recommended to use it for cloud variables and components such as ValueUserOverride.
Finding a user ID
Finding user IDs can be simple and done in multiple ways:
- Logging onto the Resonite account website will display your own user ID
- Using the UserFromUsername ProtoFlux node in combination with a UserUserID node (this will only work in sessions where the user is present)
- Using a user inspector (this will also only work for users present in the session)
- Use the API to search and find users
- Use a tool such as marsmaantje's user searcher (
resrec:///U-marsmaantje/R-c671fca0-7b46-413f-a116-d57b8fbdbeba
)