Teams Permissions
- 16 Mar 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Teams Permissions
- Updated on 16 Mar 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
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
$team = Get-LiquitTeam -id 00000000-0000-0000-0000-000000000000
Get-LiquitTeamPermission -Team $team
This command displays all the permissions of the specified 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
$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
This command creates a new permission for the specified team.
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
$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
This command updates the team permission and gives the identity the role of 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
$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
This command removes the selected team permission.
Parameters
Name | Value | Description | Required | Default value |
---|---|---|---|---|
Permission | <TeamPermission[]> | The permisson you want to remove. | Yes | |
LiquitContext | <LiquitContext> | Determines the selected zone. | No | Default |
Was this article helpful?