Select local Active Directory Server Using Windows System Variables


  
 Applies To 
  
 Product(s):MicroStation
 Version(s):08.11.07.171
 Environment: N\A
 Area: Configuration
 Subarea: General
 Original Author:Marco Salino, Bentley Technical Support Group
  

Problem

Select local Active Directory Server Using Windows System Variables

When an Active Directory domain is configured with multiple local logon
servers, it may be necessary to have Microstation pick up the correct
local server for each user, through the Windows System Environment
Variables, in the workspace configuration file.

Solution

There are, possibly, several ways for implementing this in Microstation
cfg files.

The most immediate would be to use %logonserver% system variable using
the default syntax: MS_VARIBLE = $(logonserver) as this should expand to
the name of the server the user is currently logged on, i.e. \\server01\

Sometimes it is reported that the using the %logonserver% variable is
not 100% reliable for some setups and in this case using the variable
%homeshare% - if defined in the login scripts - together wit the
'parentdevdir' variable definition reference - $(PARENTDEVDIR
(homeshare)) - should still expand to the name of the logonserver being
used.



See Also