6.4 Get Unjoined Public Groups

The getUnjoinedPublicGroups function returns all the public groups of the company the employee is not a member of.

The function takes the following parameters :

  • sessionId : Unique SessionId which is received in the authenticate function response.

response = bayunCore.unjoinedPublicGroups("<sessionId>")
groups = response.getGroups()
print("\nUnjoined Public Groups Response : ")
for groupInfo in groups:
    print("Group Id : " + groupInfo.groupId)
    print("Group Name : " + groupInfo.name)
    print("Group Type : " + groupInfo.type)

Last updated