Data ONTAP® PowerShell Toolkit

Cmdlet: Get-NaDomainUser


NAME
Get-NaDomainUser

SYNOPSIS
List all of the SIDs in a given group.

SYNTAX
Get-NaDomainUser [-Group] <String> [-Controller <NaController>] [-WarningAct
ion <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]


DESCRIPTION
List all of the SIDs in a given group. This API is only used in a windows en
vironment.


PARAMETERS
-Group <String>
List only the SIDs in this group.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningAction <ActionPreference>


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable <String>


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
NetApp.Ontapi.Filer.Useradmin.Sid


NOTES


Category: useradmin
API: useradmin-domainuser-list

-------------- Example 1 --------------

C:\PS>Get-NaDomainUser Administrators


List SIDs of domain users in this controller's Administrators group.


SID
---
S-1-5-21-882373162-175273868-1218636855-500
S-1-5-21-882373162-175273868-1218636855-131072
S-1-5-21-1088268088-1183557120-1454356382-512
S-1-5-21-882373162-175273868-1218636855-131081



RELATED LINKS
Set-NaDomainUser
Get-NaUser
Get-NaGroup







 Data ONTAP® PowerShell Toolkit