Property Name
LoginWorkStations
Property Type
Variant
Description
Gets and sets a list of names of workstations at which a user can
log on. As many as eight workstations can be specified; the names
must be separated by commas (,). If you do not want to restrict the
number of workstations, use a null string.
Remarks
If you do not want to restrict the number of workstations, use a
Null string. To disable logons from all workstations to an account,
set the AccountDisabled property.
Example
Dim UserObject As IADsUser
Set UserObject = GetObject("NTDS://DomainName/UserName")
Debug.Print UserObject.LoginWorkstations
See Also