Skip to content

SelfService Behavior

Protected edited this page Nov 18, 2023 · 1 revision

This Behavior provides Commands for regular users to register and merge Users accounts.

Account registration

Available if the enableSelfRegistration parameter is set to true. The syntax is !register HANDLE, where HANDLE is the desired account handle. The effect is similar to that of the administrator command !user add, but the new account is initialized with the calling user's Environment and User ID and the permissions listed in the initializeWithPermissions parameter.

Linking accounts

This system allows a user to add new Environments and User IDs to their existing user account, essentially telling Rowboat to merge together multiple identities across Environments.

It requires enableIdLinkage to be set to true (the default).

Generate a token by using !link from an Environment and User ID already associated with your account, such as the identity that used !register.

From the new Environment and User ID, use the token by using !link TOKEN, where TOKEN is the token you generated.

Tokens will expire after some time.

To learn if your current identity is associated with an account you can use the !whoami command (it has a function similar to the !whois command provided by the Users Behavior).