Hi all,
I'm struggling with this, I need to split this document so I get a CSV for each unique site formatted as per below.. Users will be in multiple sites
Current
Desired
CSV file for each unique siteName formatted as per:
Edit, the end goal is to do an AD Import to add users to their respective groups based on the sitename and permission level required.
I'm struggling with this, I need to split this document so I get a CSV for each unique site formatted as per below.. Users will be in multiple sites
Current
Export Data | Username | Site Name | Current Perm | New Group | |
site_exampleSite_SiteManager | exampleUser |
| siteManager | GG_exampleSite_exampleUser_Modify | |
site_exampleSite_SiteRead | exampleUser1 |
| siteRead | GG_exampleSiteBlah_exampleUser_Read | |
site_exampleSite_SiteContribute | exampleUser2 | exampleSite | siteContribute | GG_exampleSite_exampleUser2_Modify | |
site_exampleSiteBlah_SiteManager | exampleUserBlah |
| siteContribute | GG_exampleSiteBlah_exampleUserBlah_Modify | |
site_exampleSiteBlah_SiteRead | exampleUserBlah1 |
| siteRead | GG_exampleSiteBlah_exampleUserBlah1_Read | |
site_exampleSiteBlah_SiteContribute | exampleUserBlah2 | exampleSite | siteContribute | GG_exampleSite_exampleUser2Blah_Modify |
Desired
CSV file for each unique siteName formatted as per:
Group (contains New Group data) | User-Name (Contains Username data) |
GG_exampleSite_exampleUser_Modify | exampleUser |
GG_exampleSiteBlah_exampleUser_Read | exampleUser1 |
Edit, the end goal is to do an AD Import to add users to their respective groups based on the sitename and permission level required.