Add-BT_TeamMembership

Syntax

Add-BT_TeamMembership -Ticket <Ticket> -SystemUserId <guid> -TeamId <guid> [-Environment <string>] [-Id <guid>] [-IsDeleted <bool>] [-Created <datetime>] [-Updated <datetime>] [-Version <int>] [-WorkgroupOrganizationId <guid>] [-Roles <SystemUserRoles>] [-AccessLevel <AccessLevel>] [<CommonParameters>]

Add-BT_TeamMembership -Ticket <Ticket> -EndpointUrl <string> -SystemUserId <guid> -TeamId <guid> [-Id <guid>] [-IsDeleted <bool>] [-Created <datetime>] [-Updated <datetime>] [-Version <int>] [-WorkgroupOrganizationId <guid>] [-Roles <SystemUserRoles>] [-AccessLevel <AccessLevel>] [<CommonParameters>]

Detailed Description

Add-BT_TeamMembership adds a(an) BT_TeamMembership. Represents a membership between an MSPC teamMembership and a system user.

Parameters

Total Parameters: 24

EndpointUrl

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

SystemUserId

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

TeamId

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Ticket

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

AccessLevel

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Created

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Environment

Available values are listed below.

Value Description
BT Represents BT
Beta Represents Beta
Develop Represents Develop
Release Represents Release
Test Represents Test
China Represents China
Germany Represents Germany
Alpha Represents Alpha
Today Represents Today
Sandbox-02 Represents Sandbox-02
Sandbox-03 Represents Sandbox-03

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Id

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

IsDeleted

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Roles

Available values are listed below.

Value Description
None None.
OrganizationMember Organization member.
OrganizationManager Organization manager (or restricted administrator).
OrganizationAdmin Organization administrator.
Inactive Inactive.
All All the roles.

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Updated

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Version

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

WorkgroupOrganizationId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Outputs

System.Object

Notes

Examples