Syntax
Get-WMNamespacePermission [-Namespace] <WMNamespace[]> [-Domain <String[]>] [-PrincipalName <String[]>] [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Detailed Description
Retrieves information about workload namespace access permissions.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Namespace | WMNamespace[] | Specifies the workload namespaces whose access permissions you want to retrieve. | true | True (ByValue) | |
Domain | String[] | Specifies a filter for the Domain property of the access permissions you want to retrieve. | false | False | |
PrincipalName | String[] | Specifies a filter for the PrincipalName property of the access permissions you want to retrieve. | false | False | |
Server | VIServer[] | 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. | false | False |
Return Type
VMware.VimAutomation.WorkloadManagement.Types.V1.WMNamespacePermissionNotes
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".