diff --git a/content/admin/managing-iam/iam-configuration-reference/username-considerations-for-external-authentication.md b/content/admin/managing-iam/iam-configuration-reference/username-considerations-for-external-authentication.md index 3ea796d1481f..ec7428f40680 100644 --- a/content/admin/managing-iam/iam-configuration-reference/username-considerations-for-external-authentication.md +++ b/content/admin/managing-iam/iam-configuration-reference/username-considerations-for-external-authentication.md @@ -114,6 +114,8 @@ When you configure CAS, LDAP, or SAML authentication (without SCIM), {% data var 1. {% data variables.product.github %} will normalize any non-alphanumeric character in your account's username into a dash. For example, a username of `mona.the.octocat` will be normalized to `mona-the-octocat`. Note that normalized usernames also can't start or end with a dash. They also can't contain two consecutive dashes. +1. The letter casing in the value provided by the IdP is preserved in the normalized username. + 1. Usernames created from email addresses are created from the normalized characters that precede the `@` character. 1. Usernames created from domain accounts are created from the normalized characters after the `\\` separator. @@ -124,12 +126,12 @@ When you configure CAS, LDAP, or SAML authentication (without SCIM), {% data var | Identifier on provider | Normalized username on {% data variables.product.prodname_dotcom_the_website %} | Result | | :- | :- | :- | -| The.Octocat | `the-octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is created successfully. | -| !The.Octocat | `-the-octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created, because it starts with a dash. | -| The!!Octocat | `the--octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created, because it contains two consecutive dashes. | -| The!Octocat | `the-octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created. Although the normalized username is valid, it already exists. | -| `The.Octocat@example.com` | `the-octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created. Although the normalized username is valid, it already exists. | -| `internal\\The.Octocat` | `the-octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created. Although the normalized username is valid, it already exists. | +| The.Octocat | `The-Octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is created successfully. | +| !The.Octocat | `-The-Octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created, because it starts with a dash. | +| The!!Octocat | `The--Octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created, because it contains two consecutive dashes. | +| The!Octocat | `The-Octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created. Although the normalized username is valid, it already exists. | +| `The.Octocat@example.com` | `The-Octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created. Although the normalized username is valid, it already exists. | +| `internal\\The.Octocat` | `The-Octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created. Although the normalized username is valid, it already exists. | | `mona.lisa.the.octocat.from.github.united.states@example.com` | `mona-lisa-the-octocat-from-github-united-states{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created, because it exceeds the 39-character limit. | {% ifversion ghes %} diff --git a/content/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/generating-tables.md b/content/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/generating-tables.md new file mode 100644 index 000000000000..3610e149ed5e --- /dev/null +++ b/content/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/generating-tables.md @@ -0,0 +1,109 @@ +--- +title: Generating tables +shortTitle: Generate tables +intro: '{% data variables.copilot.copilot_chat_short %} can help you create tables to organize information and present it clearly.' +versions: + feature: copilot +complexity: + - Simple +octicon: copilot +category: + - Communicate effectively +topics: + - Copilot +contentType: tutorials +--- + +{% data variables.copilot.copilot_chat %} can help you create tables for various purposes, such as organizing data, comparing options, or summarizing information. By using tables, you can present information in a clear and structured way that is easy to read and understand. You can ask {% data variables.copilot.copilot_chat_short %} to generate tables based on existing data or to create empty tables based on your specific requirements. + +## Example scenario + +You want to create a reference table for the people on your team, including their roles and availability. You can ask {% data variables.copilot.copilot_chat_short %} to generate a table that summarizes this information in a clear and organized way. + +## Example prompt 1 + +```text copy +Convert the following information into a markdown table: + +Name: Alice +Age: 30 +Occupation: Engineer +Timezone: PST +Availability: Mon-Fri, 9am-5pm + +Name: Bob +Age: 25 +Occupation: Designer +Timezone: EST +Availability: Mon-Thu, 10am-6pm + +Name: Carol +Age: 27 +Occupation: Writer +Timezone: CST +Availability: Mon-Thu, 8am-4pm + +Name: Dave +Age: 35 +Occupation: Manager +Timezone: PST +Availability: Mon-Fri, 10am-6pm + +Name: Eve +Age: 28 +Occupation: Analyst +Timezone: CST +Availability: Mon-Fri, 9am-5pm + +Name: Frank +Age: 32 +Occupation: Developer +Timezone: CST +Availability: Mon-Thu, 11am-7pm + +Name: Grace +Age: 29 +Occupation: Researcher +Timezone: EST +Availability: Mon-Fri, 9am-5pm + +Name: Heidi +Age: 31 +Occupation: Consultant +Timezone: PST +Availability: Mon-Fri, 9am-5pm + +Name: Ivan +Age: 26 +Occupation: Intern +Timezone: CST +Availability: Mon-Thu, 10am-6pm +``` + +## Example response 1 + +{% data reusables.copilot.example-prompts.response-is-an-example %} + +{% data variables.product.prodname_copilot_short %} will provide you with a markdown table that organizes the information clearly. You can copy the table {% data variables.copilot.copilot_chat_short %} provides and use it in your documentation or project. + +```markdown +| Name | Age | Occupation | Timezone | Availability | +|--------|-----|-------------|----------|-----------------------| +| Alice | 30 | Engineer | PST | Mon-Fri, 9am-5pm | +| Bob | 25 | Designer | EST | Mon-Thu, 10am-6pm | +| Carol | 27 | Writer | CST | Mon-Thu, 8am-4pm | +| Dave | 35 | Manager | PST | Mon-Fri, 10am-6pm | +| Eve | 28 | Analyst | CST | Mon-Fri, 9am-5pm | +| Frank | 32 | Developer | CST | Mon-Thu, 11am-7pm | +| Grace | 29 | Researcher | EST | Mon-Fri, 9am-5pm | +| Heidi | 31 | Consultant | PST | Mon-Fri, 9am-5pm | +| Ivan | 26 | Intern | CST | Mon-Thu, 10am-6pm | +``` + +## Next steps + +You can experiment with different types of visualizations and data to see how {% data variables.copilot.copilot_chat_short %} can help you create organized and easy-to-read information. For example, you could ask {% data variables.copilot.copilot_chat_short %} to use the `Timezone` and `Availability` columns to create a Mermaid graph that shows overlapping working hours for team members in different time zones. See [AUTOTITLE](/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/creating-diagrams) for more information. + +## Further reading + +{% data reusables.copilot.example-prompts.further-reading-items %} diff --git a/content/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/index.md b/content/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/index.md index 9cd0fa79b2b0..1966fb3f88a0 100644 --- a/content/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/index.md +++ b/content/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/index.md @@ -6,9 +6,10 @@ versions: topics: - Copilot children: - - /creating-diagrams - /creating-templates - /extracting-information - /synthesizing-research + - /creating-diagrams + - /generating-tables contentType: tutorials ---