Set-WMNamespacePermission

Modifies an access permission to a workload namespace.

Syntax


Parameters

Required Parameter Name Type Position Features Description
required
Permission
WMNamespacePermission[] named
  • pipeline
  • Specifies the access permissions that you want to change.
    required
    Role
    WMNamespacePermissionRole named Specifies the new role that you want to set.

    Output

    VMware.VimAutomation.WorkloadManagement.Types.V1.WMNamespacePermission

    Examples


    Example 1

    PS C:\> Get-WMNamespacePermission * -PrincipalName Alice | Set-WMNamespacePermission -Role View

    Retrieves the permissions that Alice has on all connected workload namespaces and modifies thier role to 'View'.

    Related Commands

    Feedback

    Was this page helpful?