OpenFire User Service and delete group methods

Source: Internet
Author: User

Z4pstkln

Server, System Properties

Plugin.userservice.enabled value is True

Add Users

9090/plugins/userservice/userservice?
Type=add&secret=z4pstkln&username= Users
&password=123&name=admin&email=123123

Add a user and put the user in the group

9090/plugins/userservice/userservice?
Type=add&secret=z4pstkln&username=kafka&password=drowssap
&name=franz&[email Protected]&groups=admin

Get all user groups

9090/plugins/userservice/userservice?
Type=grouplist&secret=z4pstkln

Delete users in a group
9090/plugins/userservice/userservice?
Type=delete&secret=z4pstkln&username=kafka
By adding a user and putting users in groups and deleting groups, users can create a new
Groups of

By deleting the group in the Ofgroup in the database and creating a new group, it is possible to delete
A group, but this is not flexible and you cannot create a group with the same name again

Delete all data for a user
9090/plugins/userservice/userservice?
Type=delete&secret=z4pstkln&username= Wang Zhengdong

9090/plugins/userservice/userservice?
type=grouplist&secret=z4pstkln&group= Wang Zhengdong

If you want to put existing users in the group, you need to update

9090/plugins/userservice/userservice?
Type=update&secret=z4pstkln&groups=admin

Grouping can be deleted from the database, but there is a cache that is not immediately displayed in the console
On the page
The table data to be deleted are Ofgroup, Ofgroupprop, Ofgroupuser, respectively.
Restarting OpenFire will speed this up.

OpenFire User Service and delete group methods

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.