|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaDomainUser
NAME
Get-NaDomainUser
SYNOPSIS
List all of the domain users in a given group.
SYNTAX
Get-NaDomainUser [-Group] <String> [-Controller <NaController>] [<CommonPara
meters>]
DESCRIPTION
List all of the domain users in a given group. This API is only used in a Wi
ndows environment.
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 Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.
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
DataONTAP.PowerShell.SDK.Cmdlets.Useradmin.DomainUser
NOTES
Category: useradmin
API: useradmin-domainuser-list, system-cli
-------------- Example 1 --------------
C:\PS>Get-NaDomainUser Administrators
List domain users in this controller's Administrators group.
SID Name
--- ----
S-1-5-21-1088268088-1183557120-1454356382-1253 RTPRRE\sysadmin
S-1-5-21-1088268088-1183557120-1454356382-512 RTPRRE\Domain Admins
S-1-5-21-882373162-175273868-1218636855-131072 DUNN\SnapDriveUser
S-1-5-21-882373162-175273868-1218636855-131090 DUNN\cknight
S-1-5-21-882373162-175273868-1218636855-131094 DUNN\krusty
S-1-5-21-882373162-175273868-1218636855-500 DUNN\administrator
-------------- Example 2 --------------
C:\PS>Get-NaGroup | Get-NaDomainUser
List all domain users known to the controller. The output in this example w
ill contain duplicates if any users are members of multiple groups.
SID Name
--- ----
S-1-5-21-1088268088-1183557120-1454356382-1253 RTPRRE\sysadmin
S-1-5-21-1088268088-1183557120-1454356382-512 RTPRRE\Domain Admins
S-1-5-21-882373162-175273868-1218636855-131072 DUNN\SnapDriveUser
S-1-5-21-882373162-175273868-1218636855-131090 DUNN\cknight
S-1-5-21-882373162-175273868-1218636855-131094 DUNN\krusty
S-1-5-21-882373162-175273868-1218636855-500 DUNN\administrator
S-1-5-21-1088268088-1183557120-1454356382-514 RTPRRE\Domain Guests
S-1-5-21-1088268088-1183557120-1454356382-513 RTPRRE\Domain Users
S-1-5-21-882373162-175273868-1218636855-131072 DUNN\SnapDriveUser
RELATED LINKS
Set-NaDomainUser
Get-NaUser
Get-NaGroup
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|