File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 4
4
using System . Linq . Expressions ;
5
5
using System . Management . Automation ;
6
6
using PnP . PowerShell . Commands . Model . SharePoint ;
7
+ using PnP . PowerShell . Commands . Attributes ;
7
8
8
9
namespace PnP . PowerShell . Commands . Site
9
10
{
10
11
[ Cmdlet ( VerbsCommon . Get , "PnPSiteVersionPolicy" ) ]
12
+ [ RequiredApiDelegatedOrApplicationPermissions ( "sharepoint/AllSites.FullControl" ) ]
11
13
[ OutputType ( typeof ( PnP . PowerShell . Commands . Model . SharePoint . SiteVersionPolicy ) ) ]
12
14
public class GetSiteVersionPolicy : PnPSharePointCmdlet
13
15
{
Original file line number Diff line number Diff line change 4
4
using System . Linq . Expressions ;
5
5
using System . Management . Automation ;
6
6
using PnP . PowerShell . Commands . Model . SharePoint ;
7
+ using PnP . PowerShell . Commands . Attributes ;
7
8
8
9
namespace PnP . PowerShell . Commands . Site
9
10
{
10
11
[ Cmdlet ( VerbsCommon . Set , "PnPSiteVersionPolicy" ) ]
12
+ [ RequiredApiDelegatedOrApplicationPermissions ( "sharepoint/AllSites.FullControl" ) ]
11
13
[ OutputType ( typeof ( void ) ) ]
12
14
public class SetSiteVersionPolicy : PnPSharePointCmdlet
13
15
{
You can’t perform that action at this time.
0 commit comments