You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user will then be able to login with "maxmustermann@example.com" using the given password.
72
72
73
+
By default the guest's login name (user ID) is derived from the email address, or a hash of it when the *"Use a hash of the email as user ID for improved privacy"* setting is enabled. To give the guest a free-form login name instead, pass `--uid`:
When using `--generate-password` instead of giving a password, a random password will be generated. The guest user should then use the "forgot password" link to reset it.
74
82
75
83
> [!NOTE]
@@ -168,6 +176,20 @@ Remove the override to fall back to the Quick presets default again:
168
176
occ config:app:delete guests guest_quota
169
177
```
170
178
179
+
### Converting accounts to guests
180
+
181
+
An administrator can convert a regular account into a guest account. In *Administration settings → Users*, open the account's `…` menu and choose **Convert to guest account**. The account keeps its login name and password but becomes a limited guest, restricted to the apps allowed for guests, and receives the [default guest quota](#default-quota-for-new-guests). The conversion cannot be undone automatically.
182
+
183
+
This is only possible for accounts that
184
+
185
+
* use the database backend,
186
+
* are not already a guest, and
187
+
* have **never logged in**.
188
+
189
+
A typical use case is self-registration through the [registration](https://apps.nextcloud.com/apps/registration) app with *"Require administrator approval"* enabled: those accounts are created disabled and never logged in, so instead of enabling them an administrator can downgrade them to guests. Once such an account has logged in, conversion is no longer possible.
190
+
191
+
If you would rather registered users keep their email address as login name, enable *"Force email as login name"* in the registration app settings.
192
+
171
193
### Converting guest users to full users
172
194
173
195
Guest users can be automatically converted into full users (provided by any other user back end like SAML, LDAP, OAuth, database...) on their **first** login. When this happens they will retain their shares.
@@ -185,4 +207,4 @@ By default the old (guest) account will be disabled after successful conversion.
0 commit comments