|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Remove-NcRole
NAME
Remove-NcRole
SYNOPSIS
Delete an existing user role object.
SYNTAX
Remove-NcRole [-Role] <String> -Vserver <String[]> -CommandDirectory <String
[]> [-Controller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Delete an existing user role object.
PARAMETERS
-Role <String>
Name of the role to remove.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Vserver <String[]>
Vserver that owns the role.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-CommandDirectory <String[]>
The command or command directory to which the role has access.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
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
NOTES
Category: security
API: security-login-role-delete
Family: cluster
-------------- Example 1 --------------
C:\PS>Get-NcRole kamino -Vserver costea01,costea02 -CommandDirectory "volume
clone","volume member" | Remove-NcRole -Confirm:$false
Remove multiple permissions from the 'kamino' role on multiple vservers.
RELATED LINKS
Get-NcRole
New-NcRole
Set-NcRole
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|