Skip to content

Get-ConfluenceSpacePermission

SYNOPSIS

List the permission assignments on a space (read:space).

SYNTAX

__AllParameterSets

Get-ConfluenceSpacePermission [-SpaceId] <string> [[-Context] <Object>]

ALIASES

This cmdlet has the following aliases, {{Insert list of aliases}}

DESCRIPTION

Returns every permission assignment in the space — each entry pairs a principal (user or group) with an operation (for example read/space, create/page, delete/page, restrict_content/space). This is the space's whole permission table, not a filtered "effective permissions for the current user" view (Confluence exposes that only on the v1 operations expansion, which a granular v2 token cannot call).

EXAMPLES

EXAMPLE 1

Get-ConfluenceSpacePermission -SpaceId '123456'

Lists the permission assignments in the space with ID 123456.

PARAMETERS

-Context

The context to use: an object, a context name, or $null for the default.

Type: System.Object
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 1
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-SpaceId

The space ID whose permission assignments are returned.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES