Search-TssFolderPermission
SYNOPSIS
Search folder permissions
SYNTAX
Search-TssFolderPermission [-TssSession] <Session> [-FolderId <Int32>] [-GroupId <Int32>] [-UserId <Int32>]
[-SortBy <String>] [<CommonParameters>]
DESCRIPTION
Search folder permissions
EXAMPLES
EXAMPLE 1
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
Search-TssFolderPermission -TssSession $session -FolderId 32
Return Folder Permissions for Folder ID 32
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
-FolderId
Folder ID
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-GroupId
Group ID
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-UserId
User ID
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-SortBy
Sort by specific property, default Folder Permission ID
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: Id
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.FolderPermissions.Permission
NOTES
Requires TssSession object returned by New-TssSession