Get-CIAccessControlRule

This cmdlet retrieves access control rules.

Syntax

[-AccessLevelAtLeast  <AccessLevel>]
[-Entity  <AccessControlledEntity[]>]
[-Server  <CIServer[]>]
[-User  <CIObject[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional
AccessLevelAtLeast
AccessLevel named Specifies the lowest access level for the access control rules that you want to retrieve. The cmdlet returns all objects with the specified access level and higher access levels, if any.
optional
Entity
AccessControlledEntity[] named
  • pipeline
  • Specifies the entities for which you want to retrieve access control rules. This parameter accepts vApp and Catalog objects.
    optional
    Server
    CIServer[] named Specifies the cloud servers on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer.
    optional
    User
    CIObject[] named Specifies cloud users to retrieve the access control rules that apply for them. This parameter accepts CIUser and Org objects. When you pass an Org object to the parameter, the operation retrieves only access control rules that are set to apply for everyone in the organization.

    Output

    VMware.VimAutomation.Cloud.Types.V1.CIAccessControlRule

    Examples


    Example 1

    Get-CIAccessControlRule -Entity 'MyVApp', 'MyCatalog'

    Retrieve all access control rules for the specified entities.

    Example 2

    Get-CIAccessControlRule -User 'MyUser1', 'MyUser2'

    Retrieve all access control rules that apply for the specified users.

    Example 3

    Get-CIAccessControlRule -Entity 'MyCatalog' -User 'MyUser'

    Retrieve all access control rules set for the specified catalog and applying only for the specified user.

    Example 4

    Get-CIAccessControlRule -AccessLevelAtLeast ReadWrite

    Retrieve all access control rules with "Read/Write" or "Full Control" access levels that apply for everyone in the MyOrg organization.

    Related Commands

    Feedback

    Was this page helpful?