XenDesktop 7.x preventing external access for a specific user/users

XenDesktop 7.x preventing external access for a specific user/users

book

Article ID: CTX215673

calendar_today

Updated On:

Description

Preventing external access for a specific user/users.

Resolution

Run the below commands:to exclude the user for accessing the site:

- Get-BrokerAccessPolicyRule -Name "<name of the access policy>" | Set-BrokerAccessPolicyRule -ExcludedUsersFilterEnaled $True
- Get-BrokerAccessPolicyRule -Name "<name of the access policy> | Set-BrokerAccessPolicyRule -ExcludedUsers "Domain/User"

To revert the changes :

- Get-BrokerAccessPolicyRule -Name "<name of the access policy>" | Set-BrokerAccessPolicyRule -ExcludedUsersFilterEnaled $False

To let the user access site again:

- Get-BrokerAccessPolicyRule -Name "<name of access policy>" | Set-BrokerAccessPolicyRule -RemoveExcludedUsers "Domain/User"