Search-TssReportPermission
SYNOPSIS
Search the permissions of a report
SYNTAX
report (Default)
Search-TssReportPermission [-TssSession] <Session> -Id <Int32[]>
[<CommonParameters>]
options
Search-TssReportPermission [-TssSession] <Session> [-Options]
[<CommonParameters>]
DESCRIPTION
Search the permissions of a report: each entry is a user or group and the role permission it holds on the report. With Options it lists the role permissions that can be granted on a report instead. Returns up to the session’s Take value of entries per report.
EXAMPLES
EXAMPLE 1
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
Search-TssReportPermission -TssSession $session -Id 60
Returns the permissions of report 60
EXAMPLE 2
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
Search-TssReportPermission -TssSession $session -Options
Returns the role permissions (RolePermissionId and RolePermissionName) that can be granted on a report
PARAMETERS
-TssSession
TssSession object created by New-TssSession for authentication
Type: Session
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Id
Report ID
Type: Int32[]
Parameter Sets: report
Aliases: ReportId
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Options
List the role permissions that can be granted on a report
Type: SwitchParameter
Parameter Sets: options
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
Thycotic.PowerShell.Reports.Permission[]
Thycotic.PowerShell.Reports.PermissionOption[]
NOTES
Requires TssSession object returned by New-TssSession
RELATED LINKS
https://thycotic-ps.github.io/thycotic.secretserver/commands/reports/Search-TssReportPermission