Managing Members and Teams
By default, the account that purchases the CodeArts Agent package is assigned enterprise administrator permissions. Other accounts can access the CodeArts Agent console only after being added as enterprise members.
This section describes how an enterprise administrator can add IAM users and federated users as enterprise members manually, and directly assign them to a specified team. If users are not assigned to a team when added, the enterprise administrator or team administrator can add them to specified teams later.
If a HUAWEI ID is not the one that purchased the package and requires access to the console, its root user must be added as an enterprise member. This root user is the default IAM user automatically generated by the system when the HUAWEI ID is created, sharing the same name as the account.
Constraints
- A single tenant supports a maximum of 100 teams.
- A single team supports a maximum of 500 members.
- An IAM user or federated user can join only one team.
Creating a Team
- Log in to the CodeArts Agent console using an enterprise administrator account.
- In the navigation tree on the left, choose Enterprise Management > Teams & Members.
- Click Create Team next to Teams. The Create Team dialog box is displayed. Figure 1 Adding a team
- Enter a team name. The name can contain 2 to 64 characters, including letters, digits, underscores (_), and hyphens (-). Click OK.
The team is displayed in the team list.
Manually Adding an Enterprise Member and Assigning a Team
An account can access the CodeArts Agent console only after being added as an enterprise member.
Adding an Existing IAM User as an Enterprise Member and Assigning a Team
As an enterprise administrator, you can perform the following steps on the CodeArts Agent console to add an existing IAM user as an enterprise member and assign a team:
- Log in to the CodeArts Agent console using an enterprise administrator account.
- In the navigation tree on the left, choose Enterprise Management > Teams & Members.
- Choose Add Member in the upper right corner. The corresponding dialog box is displayed.
- Configure enterprise member information by referring to Table 1.
Available seats will be automatically assigned to new members. Members added in batches are assigned seats in alphabetical order. If seats run out, priority is given from the top of the list. You can reassign seats to unassigned members on the Seats page or change the package to obtain more seats. Only members with seats can use the AI function of CodeArts Agent.
Figure 2 Adding an existing IAM user as an enterprise member and assigning a team
Table 1 Adding an existing IAM user as an enterprise member and assigning a team Parameter
Description
Team
Optional. Select the team which the IAM user belongs to from the drop-down list.
An IAM user can join only one team.
Team Role
This parameter is displayed only after you set Team.
Configure the role of the IAM user in the team.
- Member: Has common member permissions to perform operations such as viewing their own usage and knowledge spaces.
- Team administrator: Has the permission to manage the team and can perform operations such as creating team skills and rules on the cloud.
Enterprise Role
Configure the role of the IAM user in the enterprise.
- Member: Has common member permissions to perform operations such as viewing their own usage and knowledge spaces.
- Enterprise administrator: Has the highest management permissions and can perform operations such as adding enterprise members, creating teams, and assigning seats.
Select Users
Select the IAM users to be added from the IAM user list. You can select multiple IAM users at a time.
- Click OK.
On the All Members list, view the new member.
- (Optional) If the new member's seat status is Disabled, perform operations by referring to Seats.
Creating and Adding an IAM User as an Enterprise Member and Assigning a Team
Using a HUAWEI ID, you can perform the following steps on the CodeArts Agent console to create and add IAM users as enterprise members and assign them to a team:
- Log in to the CodeArts Agent console, if your HUAWEI ID has been added as an enterprise administrator. If not, add it as an enterprise administrator and then log in.
- In the navigation tree on the left, choose Enterprise Management > Teams & Members.
- Choose Add Member in the upper right corner. The corresponding dialog box is displayed.
- Configure enterprise member information by referring to Table 2.
Available seats will be automatically assigned to new members. Members added in batches are assigned seats in alphabetical order. If seats run out, priority is given from the top of the list. You can reassign seats to unassigned members on the Seats page or change the package to obtain more seats. Only members with seats can use the AI function of CodeArts Agent.
Figure 3 Creating and adding an IAM user as an enterprise member and assigning a team
Table 2 Creating and adding an IAM user as an enterprise member and assigning a team Parameter
Description
Team
Optional. Select the team which the IAM user belongs to from the drop-down list.
An IAM user can join only one team.
Team Role
This parameter is displayed only after you set Team.
Configure the role of the IAM user in the team.
- Member: Has common member permissions to perform operations such as viewing their own usage and knowledge spaces.
- Team administrator: Has the permission to manage the team and can perform operations such as creating team skills and rules on the cloud.
Enterprise Role
Configure the role of the IAM user in the enterprise.
- Member: Has common member permissions to perform operations such as viewing their own usage and knowledge spaces.
- Enterprise administrator: Has the highest management permissions and can perform operations such as adding enterprise members, creating teams, and assigning seats.
Select Users
- Click Create User to go to the IAM console and create an IAM user by referring to Creating an IAM User.
After an IAM user is created, data synchronization may take a moment. Go back to the CodeArts Agent console. In the Add Member dialog box of the Teams & Members page, click Update to obtain the latest data.
- Select the IAM users to be added from the IAM user list. You can select multiple IAM users at a time.
- Click OK.
On the All Members list, view the new member.
- (Optional) If the new member's seat status is Disabled, perform operations by referring to Seats.
Adding a Federated User as an Enterprise Member and Assigning a Team
Adding federated users as enterprise members and assigning them to teams are supported only in the professional edition.
An enterprise administrator can perform the following steps on the CodeArts Agent console to add existing federated users created via virtual user SSO as enterprise members and assign them to a team:
- Log in to the CodeArts Agent console as the federated user to be added. After the login, the system displays the message "You have not joined any enterprises. Contact the enterprise administrator." In this case, contact your enterprise administrator to add you as an enterprise member.
- Log in to the CodeArts Agent console using an enterprise administrator account.
- In the navigation tree on the left, choose Enterprise Management > Teams & Members.
- Choose Add Member in the upper right corner. The corresponding dialog box is displayed.
- Configure enterprise member information by referring to Table 3.
Available seats will be automatically assigned to new members. Members added in batches are assigned seats in alphabetical order. If seats run out, priority is given from the top of the list. You can reassign seats to unassigned members on the Seats page or change the package to obtain more seats. Only members with seats can use the AI function of CodeArts Agent.
Figure 4 Adding a federated user as an enterprise member and assigning a team
Table 3 Adding a federated user as an enterprise member and assigning a team Parameter
Description
Team
Optional. Select the team which the federated user belongs to from the drop-down list.
A federated user can join only one team.
Team Role
This parameter is displayed only after you set Team.
Configure the role of the federated user in the team.
- Member: Has common member permissions to perform operations such as viewing their own usage and knowledge spaces.
- Team administrator: Has the permission to manage the team and can perform operations such as creating team skills and rules on the cloud.
Enterprise Role
Configure the role of the federated user in the enterprise.
- Member: Has common member permissions to perform operations such as viewing their own usage and knowledge spaces.
- Enterprise administrator: Has the highest management permissions and can perform operations such as adding enterprise members, creating teams, and assigning seats.
Select Users
Select the federated user to be added as an enterprise member from the IAM user list. You can select multiple federated users at a time.
- Click OK.
On the All Members list, view the new member.
- (Optional) If the new member's seat status is Disabled, perform operations by referring to Seats.
Managing Enterprise Members
After an enterprise member is added, both enterprise administrators and team administrators can view all enterprise members. However, only enterprise administrators can edit and delete enterprise members.
| Operation | Procedure |
|---|---|
| View all enterprise members. | In the Members area, click All Members. The All Members list is displayed. You can view all enterprise members in the list. |
| Change the role of an enterprise member. | The roles of the account that first purchased a package and the current login account cannot be changed.
|
| Delete an enterprise member. | The roles of the account that first purchased a package and the current login account cannot be deleted.
|
Manually Adding a Team Member
Before adding an IAM user or a federated user to a team, ensure that they have become enterprise members.
- Log in to the CodeArts Agent console using an enterprise or team administrator account.
Enterprise administrators can add members to any team, whereas team administrators can only add members to their managed teams.
- In the navigation tree on the left, choose Enterprise Management > Teams & Members.
- Click the team name. The members in the team are listed on the right of the page.
- Click Add Member in the upper right corner. The Add Member dialog box is displayed.
- Configure team member information by referring to Table 5. Figure 5 Adding a team member
Table 5 Adding a team member Parameter
Description
Role
Configure the role of an enterprise member in the team.
- Member: Has common member permissions to perform operations such as viewing their own usage and knowledge spaces.
- Team administrator: Has the permission to manage the team and can perform operations such as creating team skills and rules on the cloud.
Enterprise administrators can assign any enterprise member as a regular team member or a team administrator. However, team administrators can only assign an enterprise member as a team member.
Select Members
Select enterprise members to be added as team members.
You can select multiple users at a time.
- Click OK.
View the new members on the team member list.
Managing a Team
After a team is created, both enterprise administrators and team administrators can edit the team name and remove team members. Enterprise administrators can perform operations on all teams, whereas team administrators can perform operations only on their managed teams. In addition, only enterprise administrators can delete teams and change the roles of team members.
| Operation | Procedure |
|---|---|
| Edit the team name. |
|
| Delete a team. | Before deleting a team, remove the team administrators and all team members from the team.
|
| Delete teams in a batch. | Before deleting a team, remove the team administrators and all team members from the team.
|
| Change the role of a team member. |
|
| Remove a team member. | Enterprise administrators can remove both team members and team administrators, whereas team administrators can only remove team members.
|
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot

