Data ONTAP® PowerShell Toolkit

Cmdlet: Get-NaRole


NAME
Get-NaRole

SYNOPSIS
Lists full information for all roles on the system.

SYNTAX
Get-NaRole [[-Role] <String>] [-Controller <NaController>] [-WarningAction <
ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]


DESCRIPTION
Lists full information for all roles on the system.


PARAMETERS
-Role <String>
List only the information associated with this role.

Required? false
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.UseradminRoleInfo


NOTES


Category: useradmin
API: useradmin-role-list

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

C:\PS>Get-NaRole


List all of the RBAC roles on the current controller.


AllowedCapabilities Comment Name
------------------- ------- ----
{login-*, cli-*, api-*,... Default role for admini... admin
{api-snmp-get, api-snmp... Default role for audit ... audit
{login-ndmp} Default role for NDMP p... backup
{cli-cifs*, cli-exportf... Default role for compli... compliance
{} Default role for no pri... none
{cli-cifs*, cli-exportf... Default role for power ... power
{*} Default role for root p... root



RELATED LINKS







 Data ONTAP® PowerShell Toolkit