Get-VcsOrganizationRole

This cmdlet retrieves organization roles from the VMware Cloud Services Platform.

Syntax

[-Name  <String[]>]
[-Server  <IVcsServer[]>]
[-User  <IVcsUser[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional
Name
String[] named Specifies the names of the organization roles you want to retrieve.
optional
Server
IVcsServer[] named
  • wildcards
  • Specifies the VMware Cloud Services Platform 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 the Connect-Vcs cmdlet.
    optional
    User
    IVcsUser[] named
  • wildcards
  • pipeline
  • Specifies the users whose organization roles you want to retrieve.

    [-Id  <String[]>]
    [-Server  <IVcsServer[]>]
    [CommonParameters]

    Parameters

    Required Parameter Name Type Position Features Description
    optional
    Id
    String[] named Specifies the IDs of the organization roles you want to retrieve.
    optional
    Server
    IVcsServer[] named
  • wildcards
  • Specifies the VMware Cloud Services Platform 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 the Connect-Vcs cmdlet.

    Output

    VMware.CloudServices.Types.V1.CmdletOutput.IVcsOrganizationRole

    Examples


    Example 1

    Get-VcsOrganizationRole -Id "OrganizationRoleId"

    Retrieves the organization role with an "OrganizationRoleId" ID.

    Example 2

    Get-VcsOrganizationRole -Name "OrganizationRoleName"

    Retrieves the organization role with an "OrganizationRoleName" name.

    Example 3

    Get-VcsOrganizationRole -User $USER

    Retrieves the organization roles of $USER user.

    Related Commands

    Feedback

    Was this page helpful?