Skip to content

Commit

Permalink
Get-TssFolderPermissionStub - use part
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmelton committed Feb 28, 2021
1 parent 3fee138 commit 24b17ae
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ function Get-FolderPermissionsStub {
}

if ($restResponse) {
[TssFolderPermission]@{
FolderAccessRoleId = $restResponse.folderAccessRoleId
GroupId = $restResponse.groupId
SecretAccessRole = $restResponse.secretAccessRoleId
}
. $TssFolderPermissionSummaryObject $restResponse
}
} else {
Write-Warning "No valid session found"
Expand Down

0 comments on commit 24b17ae

Please sign in to comment.