After you create a URL Content Redirection setting, you can assign it to an Active Directory user or group.

Prerequisites

Become familiar with vdmutil command-line interface options and requirements and verify that you have sufficient privileges to run the vdmutil command. See Using the vdmutil Command-Line Utility on a Connection Server Instance in Horizon 8.

Procedure

  • To assign a URL Content Redirection setting to a user, on the Connection Server instance, run the vdmutil command with the --addUserURLSetting option.
    vdmutil --addUserURLSetting --urlSettingName value --userName value
    Option Description
    --urlSettingName Name of the URL content redirection setting to assign. It must be url-filtering.
    --userName Name of the Active Directory user in domain\username format.
  • To assign a URL Content Redirection setting to a group, run the vdmutil command with the --addGroupURLSetting option.
    vdmutil --addGroupURLSetting --urlSettingName value --groupName value
    Option Description
    --urlSettingName Name of the URL Content Redirection setting to assign. It must be url-filtering.
    --groupName Name of the Active Directory group in domain\group format.

Example: Assigning a URL Content Redirection Setting

The following example assigns the URL Content Redirection setting called url-filtering to the user named mydomain\janedoe.
vdmutil --addUserURLSetting --authAs johndoe --authDomain mydomain 
--authPassword secret --urlSettingName url-filtering --userName mydomain\janedoe
The following example assigns the URL Content Redirection setting called url-filtering to the group called mydomain\usergroup.
vdmutil --addGoupURLSetting --authAs johndoe --authDomain mydomain 
--authPassword secret --urlSettingName url-filtering --groupName mydomain\usergroup

What to do next

Verify your URL Content Redirection settings. See Test a URL Content Redirection Setting.