Skip to content

Commit

Permalink
New-TssFolderPermission - add example
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmelton committed Mar 2, 2021
1 parent 6acfcf6 commit 84f234c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/functions/folder-permissions/New-FolderPermission.ps1
Expand Up @@ -6,6 +6,12 @@ function New-FolderPermission {
.DESCRIPTION
Create a new folder permission
.EXAMPLE
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred
New-TssFolderPermission -TssSession $session -FolderId 5 -UserId 21 -FolderAccessRoleName View -SecretAccessRoleName List
Creates a folder permission on Folder ID 5 for User ID 21 granting View on the Folder-level and List on the Secrets in the folder
.LINK
https://thycotic-ps.github.io/thycotic.secretserver/commands/New-TssFolderPermission
Expand Down

0 comments on commit 84f234c

Please sign in to comment.