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>
] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonPa
rameters>]

Get-NaUser [[-Group] <String>] [-GetCapabilities] [-Controller <NaController
>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonP
arameters>]


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 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

-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.


AllowedCapabilities : {login-*, cli-*, api-*, security-*}
Comment :
FullName :
Name : SnapDriveUser
PasswordMaximumAge : 4294967295
PasswordMinimumAge : 0
Rid : 131072
Status : enabled
UseradminGroups : {Administrators}
PasswordMaximumAgeSpecified : True
PasswordMinimumAgeSpecified : True

AllowedCapabilities : {login-*, cli-*, api-*, security-*}
Comment : Built-in account for administering the filer
FullName :
Name : administrator
PasswordMaximumAge : 4294967295
PasswordMinimumAge : 0
Rid : 500
Status : enabled
UseradminGroups : {Administrators}
PasswordMaximumAgeSpecified : True
PasswordMinimumAgeSpecified : True

AllowedCapabilities : {login-*, cli-*, api-*, security-*}
Comment : comment
FullName :
Name : clinton
PasswordMaximumAge : 4294967295
PasswordMinimumAge : 0
Rid : 131081
Status : enabled
UseradminGroups : {Administrators}
PasswordMaximumAgeSpecified : True
PasswordMinimumAgeSpecified : True



RELATED LINKS
Remove-NaUser
New-NaUser







 Data ONTAP® PowerShell Toolkit