< Home

web-apps-control type restrict-google-account copy

Function

The web-apps-control type restrict-google-account copy command creates a Google account control policy by cloning an existing Google account control policy and displays its view.

Format

web-apps-control type restrict-google-account copy old-name [ new-name ]

Parameters

Parameter Description Value
old-name Specifies the name of the copied Google account control policy.

The value must be the name of an existing Google account control policy.

new-name Specifies the name of a newly created Google account control policy.

The name is a string of case-sensitive characters. If the name does not contain any space, the length ranges from 1 to 32 characters. If the name contains spaces, the length ranges from 3 to 34 characters, and you must use double quotation marks ("") to enclose it (for example, "user for test").

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If a Google account control policy to be created has similar content as an existing one, you can create the Google account control policy by cloning the existing one.

If the command has no new-name, the name of the new Google account control policy is old-name_num by default. num indicates the number of times the policy is cloned. The value is an integer starting from 1.

Example

# Create two Google account control policies by cloning Google account control policy abc.

<sysname> system-view
[sysname] web-apps-control type restrict-google-account copy abc
[sysname-restrict-google-account-abc_1] quit
[sysname] web-apps-control type restrict-google-account copy abc
[sysname-restrict-google-account-abc_2] quit
[sysname]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic