Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // **************************************************************************************************************************** | |
| // Abstract: | |
| // This script is just a quick trick to export the owners and members of a team as a CSV file without administrator permissions. | |
| // The following properties are exported: Display name, Title, Location, Role, Tags, UPN(email) | |
| // | |
| // Usage: | |
| // 1. Open the team in your web browser: https://teams.microsoft.com | |
| // 2. Select "Manage team" from its menu. | |
| // 3. Select the "Members" tab. | |
| // 4. Expand the "Owners" and "Members and guests" sections. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #### --------------------------------------------- | |
| ## Edit via: RStudio > Tools > Edit Code Snippets | |
| # Released under a MIT license | |
| snippet fragment | |
| [${1:text}]{.${2:type}} | |
| snippet aside | |
| [${1:text}]{.aside} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // **************************************************************************************************************************** | |
| // Abstract: | |
| // This script is just a quick hack to export the owners and members of a team as a CSV file without administrator permissions. | |
| // | |
| // Usage: | |
| // 1. Open your team | |
| // 2. Select "Manage team" from its menu | |
| // 3. Select the "Members" tab | |
| // 4. Expand the "Owners" and "Members and guests" sections | |
| // 5. Make sure to scroll down to the end of the owners and members lists to include all of them in your export (As the members are loaded on demand) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // **************************************************************************************************************************** | |
| // Abstract: | |
| // This script is just a quick hack to export the owners and members of a team as a CSV file without administrator permissions. | |
| // | |
| // Usage: | |
| // 1. Open your team | |
| // 2. Select "Manage team" from its menu | |
| // 3. Select the "Members" tab | |
| // 4. Expand the "Owners" and "Members and guests" sections | |
| // 5. Make sure to scroll down to the end of the owners and members lists to include all of them in your export (As the members are loaded on demand) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import json | |
| from enum import Enum | |
| from utils.logging import get_logger | |
| logger = get_logger(__name__) | |
| class Pattern(Enum): | |
| # OPTIONAL = 0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.