< Home

display role (role view)

Function

The display role command displays detailed information about the role list or specified role.

Format

display role [ role-name { eps-policy | group | resource | resource-group | user } ]

Parameters

Parameter Description Value
role-name Specifies the role name. The value must be an existing role name.
eps-policy Indicates host check policies associated with the role. -
group Indicates groups associated with the role. -
resource Indicates resources associated with the role. -
resource-group Indicates resource groups associated with the role. -
user Indicates users associated with the role. -

Views

Role view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Display the host check policies associated with the role default.

<sysname> system-view
[sysname] v-gateway abc
[sysname-abc] role
[sysname-abc-role] display role default eps-policy
                                                                                
 VG Role: default Information                                                   
 -------------------------------------------------------------------------------
 Role Name        :  default                                                    
 VG               :  gateway                                                  
 Pass Condition   :  all                                                        
 Role EPS Policies:  123                                                        
 -------------------------------------------------------------------------------
 ----End

Item

Description

Role Name

Role name

VG

Virtual gateway the role belongs to

Pass Condition

Conditions for a role to pass
  • all: indicates that the user needs to pass all the host check policies associated with the role to access the resources in the role when the user logs in to the virtual gateway.
  • any: indicates that the user needs to pass any of the host check policies associated with the role to access the resources in the role when the user logs in to the virtual gateway.

Role EPS Policies

Host check policies associated with the role

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >