[General] Python script to copy all CloudShell users with group data to SiSense , and add those users to their respective groups in SiSense #296
Quali-Community
started this conversation in
Useful Tips & Guides
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The attached script can be used to import all the groups and users data from CloudShell into Sisense, and add all the imported users to their respective groups.
prerequisites:
- REST token from sisense
- Admin credentials to CS
- Admin credentials to SiSense
notes:
- the JWT imported is a library called pyjwt. ( there is another library that is imported in the same and called jwt. will not work with that one. for short: pip install pyjwt )
- if a user / user's email is already listed in sisense , it will not be imported.
- the scripts only adds users\groups and does not remove them
Attachments:
Yoav Ekshtein (Yoav.E) - 06/09/2016 09:03 AM
· 2736 ·
Beta Was this translation helpful? Give feedback.
All reactions