Get-EmcSecurityRole (ESI Service)

Gets the security roles for the ESI Service.



Get-EmcSecurityRole [[-Id] <String>] [-ServiceUrl <String>] [-Silent] [<CommonParameters>]


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



This cmdlet supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. Type get-help about_commonparameters for more details.



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


This example lists all the security roles for the ESI Service, which includes the Administrator and Monitor roles.