The im-control qq account command configures a QQ account blacklist or whitelist.
The undo im-control qq account command deletes an existing QQ account blacklist or whitelist.
im-control qq account { blacklist | whitelist } account
undo im-control qq account { blacklist | whitelist } [ account ]
| Parameter | Description | Value |
|---|---|---|
| blacklist | Indicates a blacklist. | - |
| whitelist | Indicates a whitelist. | - |
| account | Indicates a QQ account. | The value is an integer string of 5 to 15 digits. Accounts with QQ mailbox addresses are not supported. |
After you configure a QQ account blacklist or whitelist, login using QQ accounts that match the blacklist is prohibited, and login using QQ accounts that match the whitelist is permitted. As for login using QQ accounts that match neither the blacklist nor the whitelist, the default action takes effect. The whitelist has a higher priority than the blacklist.
By default, no QQ account blacklist or whitelist is configured.
# Create application behavior control profile hello in the system view and configure a QQ account blacklist to prohibit login using QQ account 12345678.
<sysname> system-view [sysname] profile type app-control name hello [sysname-profile-app-control-hello] im-control qq account blacklist 12345678