BayunCoreSDK C++ Programming Guide
  • 1. Introduction
  • 2. Quick Start Guide for Beginners
  • 3. Getting Started
  • 4. Authentication
    • 4.1 Register with Password
    • 4.2 Register without Password
    • 4.3 Login with Password
    • 4.4 Login without Password
    • 4.5 Logout
    • 4.6 Authorization
    • 4.7 Change Password
  • 5. BayunCoreSDK Operations
    • 5.1 Lock/Unlock File
    • 5.2 Lock/Unlock Text
    • 5.3 Lock/Unlock Binary Data
    • 5.4 Get Locking Key
  • 6. Groups
    • 6.1 Create Group
    • 6.2 Get My Groups
    • 6.3 Get Unjoined Public Groups
    • 6.4 Join Public Group
    • 6.5 Get Group By Id
    • 6.6 Add Group Member
    • 6.7 Add Group Members
    • 6.8 Remove Group Member
    • 6.9 Remove Group Members
    • 6.10 Remove Group Members Except List
    • 6.11 Leave Group
    • 6.12 Delete Group
  • 7. Run the sample program
Powered by GitBook
On this page

Was this helpful?

  1. 6. Groups

6.11 Leave Group

The leaveGroup function is used to leave any joined group.

The function takes the following parameters :

  • sessionId : Unique SessionId which is received in the registration/login function response.

  • groupId : Group Id of the Group.

#include "BayunCore.h"

Bayun::ShLeaveGroupResponse response = bayunCore->leaveGroup("<sessionId>", "<groupId>");
Previous6.10 Remove Group Members Except ListNext6.12 Delete Group

Last updated 1 year ago

Was this helpful?