Dela via


Get-PAMUser

Gets users who can request activation from the MIM Service.

Syntax

Get-PAMUser
   [[-SourceDisplayName] <String>]
   [[-SourceDomain] <String>]
   [[-SourceAccountName] <String>]
   [[-PrivDisplayName] <String>]
   [[-Session] <PAMSession>]
   [[-Filter] <String>]
   [<CommonParameters>]

Description

The Get-PAMUser cmdlet returns users from the MIM Service which optionally match filter conditions. This array of users can be provided to the New-PAMRole or Set-PAMRole cmdlet assigned as candidate users.

Examples

EXAMPLE 1

$sj = Get-PAMUser -SourceDisplayName "Jen"

Description


Returns the users in the MIM Service which have the display name attribute in the source domain with value of "Jen".

Parameters

-Filter

Specifies a clause to use in the filter when searching in the MIM Service.

Type:String
Position:6
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PrivDisplayName

Matching value for the DisplayName of the user in the PAM domain.

Type:String
Position:4
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Session

Session with the PAM domain and MIM Service.

Type:PAMSession
Position:5
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SourceAccountName

Matching value for the AccountName attribute of a user resource in MIM Service.

Type:String
Position:3
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SourceDisplayName

Matching value for DisplayName attribute of a user resource in MIM Service.

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SourceDomain

Matching value for the Domain attribute of a user resource in MIM Service.

Type:String
Position:2
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.IdentityManagement.PamCmdlets.Model.PAMUser

Zero or more PAM users.