|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaUser
NAME
Get-NaUser
SYNOPSIS
Lists information for all administrative users on the system with the except
ion of root and snmp.
SYNTAX
Get-NaUser [[-User] <String>] [-GetCapabilities] [-Controller <NaController>
] [<CommonParameters>]
Get-NaUser [[-Group] <String>] [-GetCapabilities] [-Controller <NaController
>] [<CommonParameters>]
DESCRIPTION
Lists information for all administrative users on the system with the except
ion of root and snmp.
PARAMETERS
-User <String>
List only the information associated with this user. This option must be
left empty if the option "Group" contains a value.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-GetCapabilities
Default is false. If set to true, then the allowed capabilities are plac
ed into the user-info structure. Depending on number of users, groups, a
nd roles; this operation may take a long time.
Required? false
Position? named
Default value false
Accept pipeline input? false
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
-Group <String>
List only the users which are a part of this group. This option must be
left empty if the option "User" contains a value.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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.UseradminUserInfo
NOTES
Category: useradmin
API: useradmin-user-list
-------------- Example 1 --------------
C:\PS>Get-NaUser -GetCapabilities
List all users on the current controller including the capabilities of each.
Name : SnapDriveUser
FullName :
Comment :
UseradminGroups : {VirtAdmins}
AllowedCapabilities :
PasswordMaximumAgeTS :
PasswordMinimumAgeTS :
Rid :
Status :
Name : administrator
FullName :
Comment : Built-in account for administering the filer
UseradminGroups : {Administrators}
AllowedCapabilities :
PasswordMaximumAgeTS :
PasswordMinimumAgeTS :
Rid :
Status :
Name : cknight
FullName :
Comment :
UseradminGroups : {Administrators}
AllowedCapabilities :
PasswordMaximumAgeTS :
PasswordMinimumAgeTS :
Rid :
Status :
Name : krusty
FullName :
Comment :
UseradminGroups : {Administrators}
AllowedCapabilities :
PasswordMaximumAgeTS :
PasswordMinimumAgeTS :
Rid :
Status :
Name : vf1user
FullName :
Comment :
UseradminGroups : {}
AllowedCapabilities :
PasswordMaximumAgeTS :
PasswordMinimumAgeTS :
Rid :
Status :
RELATED LINKS
Remove-NaUser
New-NaUser
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|