|
|
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[]>] [-WhatIf] [-Confirm] [<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 Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-WhatIf
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm
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
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 © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|