Syntax
Set-CIAccessControlRule [-AccessLevel] <AccessLevel> -AccessControlRule <CIAccessControlRule[]> [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [-WhatIf] [-Confirm] [<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 | |
InformationAction | ActionPreference | false | false | ||
InformationVariable | String | false | false | ||
PipelineVariable | String | 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.