Skip to main content

Get-AtriaWorkSpaceItemRoleRelationship

SYNOPSIS

Retrieves the list of roles that are linked to a specific workspace item.

SYNTAX

Get-AtriaWorkSpaceItemRoleRelationship -ItemId <Int> [<CommonParameters>]

DESCRIPTION

This function queries the Atria API to return all roles associated with a specific workspace item. This is useful for identifying which roles grant access to or interact with the specified item.

PARAMETERS

  • ItemId <Int> (Required) The unique identifier of the item for which role relationships will be retrieved.

  • <CommonParameters> Supports common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. More info: about_CommonParameters.

OUTPUTS

Returns a list of role objects associated with the specified workspace item.

EXAMPLES

Example - Retrieve roles for an item

Get-AtriaWorkSpaceItemRoleRelationship -ItemId 4321

Returns all roles related to item ID 4321.

NOTES

Ensure Connect-AtriaApi has been used to authenticate before invoking this function.