To install, use pip
:
pip install --upgrade ibmBluegroup
from ibmBluegroup import ibmBluegroup
ibmBluegroup = ibmBluegroup()
flag = ibmBluegroup.userInGroup("intranetID", "group name")
print(flag)
If your BlueGroup has spaces in the name, replace blanks with %20 or +.
from ibmBluegroup import ibmBluegroup
ibmBluegroup = ibmBluegroup()
flag = ibmBluegroup.userInGroup("[email protected]", "Testing+Group")
# OR
# flag = ibmBluegroup.userInGroup("[email protected]", "Testing%20Group")
print(flag)
Tested on Python 3.5+.
This library is licensed under the Apache 2.0 license.