Gets the security roles for the ESI Service.
Syntax
Get-EmcSecurityRole [[-Id] <String>] [-ServiceUrl <String>] [-Silent] [<CommonParameters>]
Parameters
-Id <String>
Attributes: Optional, Position: 1
Specifies the role names. Wildcards are permitted.
-ServiceUrl <String>
Attributes: Optional, Position: named
Specifies the base URL for the ESI Service. This must contain only the scheme, host, and port. If no value is specified, ESI uses the default of localhost or the value set by using the Set-EmcServiceUrl cmdlet.
-Silent <SwitchParameter>
Attributes: Optional, Position: named
Turns off all the informational and verbose messages. However, it still displays errors.
<CommonParameters>
This cmdlet supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. Type get-help about_commonparameters for more details.
Examples
-------------- Example 1 --------------
C:\PS>Get-EmcSecurityRole
This example lists all the security roles for the ESI Service, which includes the Administrator and Monitor roles.