Get-LiquitTeamPermission
Synopsis
This command displays a list of all the permissions granted to a team. Alternatively, you can select a specific team permission.
Syntax
 Get-LiquitTeamPermission 
	[-Team] <Team> 
	[-LiquitContext <LiquitContext>]  
	[<CommonParameters>]
 Get-LiquitTeamPermission 
	[-Team] <Team> 
	[-ID] <string[]> 
	[-LiquitContext <LiquitContext>]  
	[<CommonParameters>]
Example
The following script displays all the permissions of the specified team:
 $team = Get-LiquitTeam -id 00000000-0000-0000-0000-000000000000
 Get-LiquitTeamPermission -Team $team
New-LiquitTeamPermission
Synopsis
This command creates a new team permission.
Syntax
 New-LiquitTeamPermission 
	[-Team] <Team> 
	[-Identity] <Identity> 
	[-Privilege {User | Publisher | Editor | Moderator | Owner}] 
	[-LiquitContext <LiquitContext>] 
	[-WhatIf] 
	[-Confirm]  
	[<CommonParameters>]
Example
The following script creates a new permission for the specified team:
 $team = Get-LiquitTeam -ID 00000000-0000-0000-0000-000000000000
 $identity = GetLiquitIdentity -ID “source\00000000-0000-0000-0000-000000000000”
 New-LiquitTeamPermission -Team $team -Identity $identity -Privilege Publisher
Parameters
| Name | Value | Description | Required | Default value | 
|---|---|---|---|---|
| Team | <Team> | The team for which you want to set the permission. | Yes | |
| Identity | <Identity> | The identity for which you want to set the permission. | Yes | |
| Privilege | {User | Publisher | Editor | Moderator | Owner} | The role that the identity should receive within the team. | No | User | 
| LiquitContext | <LiquitContext> | Determines the selected zone. | No | Default | 
Set-LiquitTeamPermission
Synopsis
This command lets you edit the properties of a permission.
Syntax
 Set-LiquitTeamPermission 
	[-Permission] <TeamPermission[]> 
	[-Privilege {User | Publisher | Editor | Moderator | Owner}] 
	[-LiquitContext <LiquitContext>] 
	[-WhatIf] 
	[-Confirm]  
	[<CommonParameters>]
Example
The following script updates the team permission and gives the identity the role of editor:
 $team = Get-LiquitTeam -ID 00000000-0000-0000-0000-000000000000
 $teamPermission = Get-LiquitTeamPermission -Team $team -ID LOCAL\00000000-0000-0000-0000-000000000000
 Set-LiquitTeamPermission -Permission $teamPermission -Privilege Editor
Parameters
| Name | Value | Description | Required | Default value | 
|---|---|---|---|---|
| Permission | <TeamPermission[]> | The permission you want to update. | Yes | |
| Privilege | {User | Publisher | Editor | Moderator | Owner} | The role that the identity should receive within the team. | No | |
| LiquitContext | <LiquitContext> | Determines the selected zone. | No | Default | 
Remove-LiquitTeamPermission
Synopsis
This command removes a team permission.
Syntax
 Remove-LiquitTeamPermission 
	[-Permission] <TeamPermission[]> 
	[-LiquitContext <LiquitContext>] 
	[-WhatIf] 
	[-Confirm]  
	[<CommonParameters>]
Example
The following script removes the selected team permission:
 $team = Get-LiquitTeam -ID 00000000-0000-0000-0000-000000000000
 $teamPermission = Get-LiquitTeamPermission -Team $team -ID LOCAL\00000000-0000-0000-0000-000000000000
 Remove-LiquitTeamPermission -Permission $teamPermission 
Parameters
| Name | Value | Description | Required | Default value | 
|---|---|---|---|---|
| Permission | <TeamPermission[]> | The permisson you want to remove. | Yes | |
| LiquitContext | <LiquitContext> | Determines the selected zone. | No | Default |