Syntax
Set-CIAccessControlRule [-AccessLevel] <AccessLevel> -AccessControlRule <CIAccessControlRule[]> [-Confirm] [-WhatIf] [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet modifies the specified access control rule.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
AccessLevel | AccessLevel | Specifies a new access level for the access control rule that you want to modify. This parameter accepts Read, ReadWrite, and FullControl values. | true | False | |
AccessControlRule | CIAccessControlRule[] | Specifies the access control rule that you want to modify. | true | True (ByValue) | |
Confirm | SwitchParameter | If the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation. | false | False | |
WhatIf | SwitchParameter | Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified. | false | False |
Return Type
Zero or more modified CIAccessControlRule objectsNotes
Examples
-------------------------- Example 1 --------------------------
$myRule = Get-CIAccessControlRule -Entity 'MyCatalog' -User 'MyUser' Set-CIAccessControlRule -AccessControlRule $myRule -AccessLevel "FullControl"
Provides the MyUser user with full control access to the MyCatalog catalog.