Manage User – Nextcloud Snap

List User

sudo nextcloud.occ user:list

Add User

sudo nextcloud.occ user:add admin1

enter password atleast 10 characters long

Reset Password

sudo nextcloud.occ user:resetpassword admin1

Delete user

sudo nextcloud.occ user:delete admin1

More command list:

sudo nextcloud.occ group:adduser               
sudo nextcloud.occ group:removeuser          
sudo nextcloud.occ user:add                    
sudo nextcloud.occ user:add-app-password       
sudo nextcloud.occ user:delete                 
sudo nextcloud.occ user:disable                
sudo nextcloud.occ user:enable                 
sudo nextcloud.occ user:info                   
sudo nextcloud.occ user:lastseen               
sudo nextcloud.occ user:list                   
sudo nextcloud.occ user:report                 
sudo nextcloud.occ user:resetpassword          
sudo nextcloud.occ user:setting      

Leave a Comment

Your email address will not be published.