To configure the terminal service, you can use the
<userattr.userWorkstation> attribute
or any other attribute as defined on the server (without double quotes).
To configure this attribute on the AD server:
- Go to Active Directory Users and Computers, right-click a user account, and click Properties.

-
On the Properties window, click the Account tab:

-
On the Account tab, click Log On To:

-
On the Logon Workstations window, select The following computers radio button:

- Add the computer name and click OK:

The attribute will pull the computer name via this option.
Note: The <userattr.userWorkstation> attribute is single valued and can work only when one computer name is configured.
If multiple computer names are needed (multi valued attribute), the <Userattr.otherLoginWorkstations> attribute can be used.By using userWorkstation, users are restricted to access limited computers.
The otherLoginWorkstations attribute is more flexible than userWorkstation.
The Multi-valued attribute - otherLoginWorkstations, on AD server’s ADSIEDIT.

Adding the computer name for the otherLoginWorkstations attribute; Active Directory Users and Computers does not have an option to add the computer name for the otherLoginWorkstations attribute.
