-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust FolderPermissions Class - rename namespace and classes, align …
…functions fixes #215
- Loading branch information
Showing
23 changed files
with
121 additions
and
121 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
title: "Permission" | ||
--- | ||
|
||
# TOPIC | ||
This help topic describes the Thycotic.PowerShell.FolderPermissions.Permission class in the Thycotic.SecretServer module | ||
|
||
# CLASS | ||
Thycotic.PowerShell.FolderPermissions.Permission | ||
|
||
# INHERITANCE | ||
None | ||
|
||
# DESCRIPTION | ||
The Thycotic.PowerShell.FolderPermissions.Permission class represents the FolderPermissionSummary object returned by Secret Server endpoint GET /folder-permissions | ||
|
||
# CONSTRUCTORS | ||
new() | ||
|
||
# PROPERTIES | ||
FolderAccessRoleId | ||
Role ID granted on the folder | ||
|
||
FolderAccessRoleName | ||
Role name granted on the folder | ||
|
||
FolderId | ||
Folder ID | ||
|
||
GroupId | ||
Group ID having permissions on the folder | ||
|
||
GroupName | ||
Group name having permissions on the folder | ||
|
||
Id | ||
Folder permission ID | ||
|
||
KnownAs | ||
KnownAs | ||
|
||
SecretAccessRoleId | ||
Role ID granted on secrets in the folder | ||
|
||
SecretAccessRoleName | ||
Role name granted on secrets in the folder | ||
|
||
UserId | ||
User ID having permissions on the folder | ||
|
||
UserName | ||
User name having permissions on the folder | ||
|
||
# METHODS | ||
|
||
# RELATED LINKS: | ||
Get-TssFolderPermission | ||
New-TssFolderPermission |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
src/Thycotic.SecretServer/classes/folder-permissions/General.cs
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
src/Thycotic.SecretServer/classes/folder-permissions/Permission.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using System.Threading.Tasks; | ||
using System.Management.Automation; | ||
using System.Management.Automation.Runspaces; | ||
|
||
namespace Thycotic.PowerShell.FolderPermissions | ||
{ | ||
public class Permission | ||
{ | ||
public int FolderAccessRoleId {get;set;} | ||
public string FolderAccessRoleName {get;set;} | ||
public int FolderId {get;set;} | ||
public int GroupId {get;set;} | ||
public string GroupName {get;set;} | ||
public int Id {get;set;} | ||
public string KnownAs {get;set;} | ||
public int SecretAccessRoleId {get;set;} | ||
public string SecretAccessRoleName {get;set;} | ||
public int UserId {get;set;} | ||
public string Username {get;set;} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.