Compartir a través de


Get-PartnerCustomerUser

Gets a list of all customer users or a specified user for the tenant.

Sintaxis

ByCustomerId (Es el valor predeterminado).

Get-PartnerCustomerUser
    [-CustomerId] <String>
    [<CommonParameters>]

ByUserId

Get-PartnerCustomerUser
    [-CustomerId] <String>
    -UserId <String>
    [<CommonParameters>]

ByUserState

Get-PartnerCustomerUser
    [-CustomerId] <String>
    [-ReturnDeletedUsers]
    [<CommonParameters>]

ByUpn

Get-PartnerCustomerUser
    [-CustomerId] <String>
    -UserPrincipalName <String>
    [<CommonParameters>]

Description

The Get-PartnerCustomerUser cmdlet returns either a list of customer users based on the specified customer identifier, or it returns a specific user based on the specified user identifier or user principal name.

Ejemplos

Example 1

PS C:\> Get-PartnerCustomerUser -CustomerId 45916f92-e9c3-4ed2-b8c2-d87aa129905f

Gets a list of all active users for the specified customer identifier.

Example 2

PS C:\> Get-PartnerCustomerUser -CustomerId 45916f92-e9c3-4ed2-b8c2-d87aa129905f -UserId 00aa00aa-bb11-cc22-dd33-44ee44ee44ee

Gets information for the specified user.

Example 3

PS C:\> Get-PartnerCustomerUser -CustomerId 45916f92-e9c3-4ed2-b8c2-d87aa129905f -ReturnDeletedUsers

Gets a list of all deleted users for the specific customer.

Parámetros

-CustomerId

The identifier for the customer.

Propiedades del parámetro

Tipo:String
Valor predeterminado:None
Admite caracteres comodín:False
DontShow:False

Conjuntos de parámetros

(All)
Posición:0
Mandatory:True
Valor de la canalización:False
Valor de la canalización por nombre de propiedad:False
Valor de los argumentos restantes:False

-ReturnDeletedUsers

Specifies whether to show deleted users.

Propiedades del parámetro

Tipo:SwitchParameter
Valor predeterminado:None
Admite caracteres comodín:False
DontShow:False

Conjuntos de parámetros

ByUserState
Posición:Named
Mandatory:True
Valor de la canalización:False
Valor de la canalización por nombre de propiedad:False
Valor de los argumentos restantes:False

-UserId

The identifier for the user.

Propiedades del parámetro

Tipo:String
Valor predeterminado:None
Admite caracteres comodín:False
DontShow:False

Conjuntos de parámetros

ByUserId
Posición:Named
Mandatory:True
Valor de la canalización:False
Valor de la canalización por nombre de propiedad:False
Valor de los argumentos restantes:False

-UserPrincipalName

Identifier for the customer.

Propiedades del parámetro

Tipo:String
Valor predeterminado:None
Admite caracteres comodín:False
DontShow:False

Conjuntos de parámetros

ByUpn
Posición:Named
Mandatory:True
Valor de la canalización:False
Valor de la canalización por nombre de propiedad:False
Valor de los argumentos restantes:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Entradas

None

Salidas

Microsoft.Store.PartnerCenter.PowerShell.Models.Users.PSCustomerUser