What is the syntax to add a workstation a user can logon to, using the Command Line Interface? (NETIQKB28945)

  • 7728945
  • 02-Feb-2007
  • 19-Jun-2007

Resolution

goal
What is the syntax to add a workstation a user can logon to, using the Command Line Interface?

fact
Directory and Resource Administrator 6.x

fact
Directory and Resource Administrator 7.x

fix

In order to modify the Logon to field of a user account, using the Command Line Interface (CLI), the following command must be run from the \Program Files\NetIQ\DRA  prompt (depending on the Administration product in use) on a computer with the CLI installed:

To add a single workstation:

EA USER user_name UPDATE WORKSTATIONS:"computer_name"

To add multiple workstations:

EA USER user_name UPDATE WORKSTATIONS:"computer_name1,computer_name2,computer_name3"

To set the Login Workstation property for a user account back to 'User may log on to all workstations' use the following syntax in version 7.0 and later:

EA USER user_name UPDATE WORKSTATIONS:
or
EA USER user_name UPDATE WORKSTATIONS:""



note
The syntax to set the 'User may log on to all workstations' for a user account is available in version 7.0 and later only.

Additional Information

Formerly known as NETIQKB28945