Skip to content

/AWS1/CL_STR=>UPDATETEAMMEMBER()

About UpdateTeamMember

Updates a team member's attributes in an AWS CodeStar project. For example, you can change a team member's role in the project, or change whether they have remote access to project resources.

Method Signature

IMPORTING

Required arguments:

IV_PROJECTID TYPE /AWS1/STRPROJECTID /AWS1/STRPROJECTID

The ID of the project.

IV_USERARN TYPE /AWS1/STRUSERARN /AWS1/STRUSERARN

The Amazon Resource Name (ARN) of the user for whom you want to change team membership attributes.

Optional arguments:

IV_PROJECTROLE TYPE /AWS1/STRROLE /AWS1/STRROLE

The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams in the AWS CodeStar User Guide.

IV_REMOTEACCESSALLOWED TYPE /AWS1/STRREMOTEACCESSALLOWED /AWS1/STRREMOTEACCESSALLOWED

Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile. Even if this is set to True, the user must associate a public key with their profile before the user can access resources.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_STRUPDTEAMMEMBERRSLT /AWS1/CL_STRUPDTEAMMEMBERRSLT