选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

Managing user roles as a channel member in Amazon Q Developer in chat applications

聚焦模式
Managing user roles as a channel member in Amazon Q Developer in chat applications - Amazon Q Developer in chat applications
此页面尚未翻译为您的语言。 请求翻译

AWS Chatbot is now Amazon Q Developer. Learn more

AWS Chatbot is now Amazon Q Developer. Learn more

Channel members can switch their user roles from their chat channels. Additionally, channel members can unmap user roles from chat client IDs using the Amazon Q Developer in chat applications console.

Adding a user role from a chat channel using Amazon Q Developer

If you are a new channel member or your channel permission approach changes, Amazon Q Developer will prompt you to add a user role.

To add a user role from a chat channel
  1. Choose Let's get started.

  2. Choose an account to add a role.

    Note

    This link will take you directly to the Amazon Q Developer console.

  3. In User role, choose a role.

  4. Choose Save.

    Note

    Choosing Save takes you to an authorization page to fetch your chat client identity. This identity is mapped to your chosen role.

  5. Choose Allow.

Switching user roles from a chat channel using Amazon Q Developer in chat applications

If you find that your current user role doesn’t have the right permissions to achieve your desired task, you can switch roles directly from Microsoft Teams and Slack.

Note

If you are unable to run a particular command after switching roles, contact your administrator regarding the channel guardrails in place.

To switch a user role from a chat channel
  1. In your chat channel, enter @Amazon Q switch-role.

  2. Choose the account that you want to switch roles for.

    Note

    This link will take you directly to the Amazon Q Developer console.

  3. In the Amazon Q Developer console, choose Choose user role.

  4. In User role, choose a user role.

  5. Choose Save.

    Note

    Choosing Save, takes you to an authorization page. This is so your chat client identity can be retrieved and associated with your chosen role.

  6. On the authorization page, choose Allow.

Unmapping a user role using Amazon Q Developer in chat applications

If you have a user role applied that you no longer need, you can unmap it.

To unmap a user role
  1. Open the Amazon Q Developer console.

  2. Choose a configured client.

  3. In User role, choose Clear role.

本页内容

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。