Get-WMNamespacePermission

Retrieves information about workload namespace access permissions.

Syntax

-Namespace  <WMNamespace[]>
[-Domain  <String[]>]
[-PrincipalName  <String[]>]
[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Namespace
WMNamespace[] named
  • wildcards
  • pipeline
  • Specifies the workload namespaces whose access permissions you want to retrieve.
    optional
    Domain
    String[] named
  • wildcards
  • Specifies a filter for the Domain property of the access permissions you want to retrieve.
    optional
    PrincipalName
    String[] named
  • wildcards
  • Specifies a filter for the PrincipalName property of the access permissions you want to retrieve.
    optional
    Server
    VIServer[] named
  • wildcards
  • Specifies the vCenter Server(s) on which you want to run the cmdlet. If no value is specified to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.

    Output

    VMware.VimAutomation.WorkloadManagement.Types.V1.WMNamespacePermission

    Examples


    Example 1

    PS C:\> Get-WMNamespacePermission "Development"

    Retrieves all the access control permissions for the workload namespace with name "Development".

    Example 2

    PS C:\> Get-WMNamespacePermission "Development" -Domain "MyCorpDomain" -PrincipalName "Alice*"

    Retrieves the access control permissions for the "Development" namespace for users or groups from the domain "MyCorpDomain" whose PrincipalName starts with "Alice".

    Related Commands

    Feedback

    Was this page helpful?