Get-NectarUser
- 15 May 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Get-NectarUser
- Updated on 15 May 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?    
Thank you for your feedback!
Get information about 1 or more users via Nectar DXP.
Syntax
Get-NectarUser
  -SearchQuery  <String>
  -TenantName  <String>
  -PageSize  <Int32>
  -ResultSize  <Int32>
Examples
Example 1
Get-NectarUser -SearchQuery tferguson
Parameters
-SearchQuery <String>
 A full or partial match of the user name. Will do an 'includes' type search by default. So searching for user@domain.com would return Auser@domain.com, Buser@domain.com etc.
 For a specific match, enclose the name in square brackets IE: [user@domain.com]
| Parameter | Value | 
|---|---|
| Required | true | 
| Position | 1 | 
| Required | true | 
| Default Value | None | 
| Accept pipeline input? | false | 
| Accept wildcard characters? | false | 
-TenantName <String>
 The name of the Nectar DXP tenant. Used in multi-tenant configurations.
| Parameter | Value | 
|---|---|
| Required | false | 
| Position | 2 | 
| Required | false | 
| Default Value | None | 
| Accept pipeline input? | true (ByPropertyName) | 
| Accept wildcard characters? | false | 
-PageSize <Int32>
| Parameter | Value | 
|---|---|
| Required | false | 
| Position | 3 | 
| Required | false | 
| Default Value | 10000 | 
| Accept pipeline input? | false | 
| Accept wildcard characters? | false | 
-ResultSize <Int32>
 The number of results to return. Defaults to 1000.
| Parameter | Value | 
|---|---|
| Required | false | 
| Position | 4 | 
| Required | false | 
| Default Value | 0 | 
| Accept pipeline input? | false | 
| Accept wildcard characters? | false | 
Was this article helpful?
