Set-CIAccessControlRule Command | Vmware PowerCLI Reference

Set-CIAccessControlRule

This cmdlet modifies the specified access control rule.

Syntax

Set-CIAccessControlRule
-AccessControlRule < CIAccessControlRule[] >
-AccessLevel < AccessLevel >
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
AccessControlRule CIAccessControlRule[] named
  • pipeline
Specifies the access control rule that you want to modify.
required
AccessLevel AccessLevel named
Specifies a new access level for the access control rule that you want to modify. This parameter accepts Read, ReadWrite, and FullControl values.

Output

VMware.VimAutomation.Cloud.Types.V1.CIAccessControlRule

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.

Related Commands

CIAccessControlRule

This cmdlet retrieves access control rules.

This cmdlet creates a new access control rule.

This cmdlet removes the specified access control rule.

This cmdlet modifies the specified access control rule.