Skip to main content

vserver services web access show

Contributors
Suggest changes

Display web service authorization for user roles

Availability: This command is available to cluster administrators at the admin privilege level.

Description

This command displays the roles that are authorized to access the Vserver's web services. For the user to access services that require authentication, the user's roles, as defined by security login show , must be included in this configuration.

Note Node Vserver services are authorized with the data Vserver's roles.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-vserver <Vserver Name>] - Vserver

Identifies a Vserver for hosting a specific web service.

[-name <text>] - Service Name

Identifies the name of the web service.

[-role <text>] - Role Name

Identifies a role assigned for accessing the service. A service without any authorizations has a role of 'none' assigned to it automatically.

[-type <vserver type>] - Type of Vserver

Identifies the type of Vserver on which the service is hosted.

Examples

The following example displays the roles that are authorized to access the web services.

cluster1::vserver services web access> show
Vserver        Type     Service Name     Role
-------------- -------- ---------------- ----------------
cluster1       admin    cem              none
cluster1       admin    ontapi           readonly
cluster1       admin    portal           none
cluster1       admin    spi              none
cluster1       admin    supdiag          none
vs0            cluster  ontapi           admin
6 entries were displayed.

cluster1::vserver services web access>